Chelsea will see if she can duplicate the issue. Thanks Ted.
You could also put a program line like so:
10 IF+ TIME = 0:0:01 THEN LEADLAG = NOT LEADLAG
Every day just after midnight it will switch the lead chiller. Since there are only two chillers you can use this NOT command which flips LEADLAG from 0 to 1 or vice versa.
Or here’s another way to manually control it:
10 IF DOW = 1 OR DOW = 3 OR DOW = 5 THEN LEADLAG = 0
20 IF DOW = 2 OR DOW = 4 OR DOW = 6 THEN LEADLAG = 1
You could work something out to handle the decision on Sundays, perhaps use a variable to track the run time of each chiller and base it off that.
Update: Chelsea mentions that a leap year issue was fixed a while back as was another issue with daylight savings time under Win10. Just make sure that all controllers on the site have the latest firmware and you should be good.
Just so you know: All controllers in the building will sync to the time & date of the lowest panel ID in the building, usually its Panel 1. If Panel 1 is offline every device will sync to Panel 2 and so on. While discussing this here we see there’s a chance for time sync to get out of whack if you had Panel 1 syncing to a time server and Panel 2 syncing to the Operator station’s PC. We’ll add a dialog to make this more clear and also add some background logic so that all panels in the building follow the same sync source, if you change it to sync to the PC on one panel it will change all panels to match.
Standing by to help.