DST Time in ControlLogix PLC

jjimen03

Member
Join Date
Aug 2016
Location
New York
Posts
12
Hello,

So I noticed that my plant run timers, as seen on the HMI screen are resetting every day at 2300 hours instead of at 0 ( Instead of at Midnight). So the PLC logic is OFF by an hour somwhere. The PLC logic is using the WallClockTime object and extracting, using the GSV instruction, the LocalDateTime attribute. See attached Screen Shot. As of the date of this post, we are currently in Daylight Savings Time.

In addition, I see the DSTAdjustment attribute being used and currently has a value of 60 minutes.

If we are currently in DST, then the PLC logic ADDs a value of 1 to the hour from RunTime_TimeDate[3], this value is then written to the RunTime_Hour tag. If we are NOT is DST, then it does not add a 1. Then if the RunTime_Hour equals either 0 or 24 ( Indicating Midnight in standard time and DST respectively) then our Plant Run Timers will reset. See attached Screen Shot.

A couple of questions:

1)Where does the 60 minutes value get written from to the DSTAdjusment attribute? Is this done automatically by the PLC. I can't imagine that it does.

2) I don't think based on the current logic, that the logic is properly resetting the run timers at midnight and taking DST into account.

Any thoughts on where the problem might be?

PLC DST Logic.jpg PLC DST Logic 2.jpg
 

Similar Topics

Hi all, Happy new Year. I'm a ladder man forced to use SFC's and ST using Eurotherm's T2750/Eycon PAC s/w (Lin Tools). I'm constructing a...
Replies
3
Views
422
Hello Gents, I have got a request to stop the system at fixed times through the day (at End of Day/Night shifts) which could be done using the...
Replies
2
Views
929
We have a client with 24/7 operations with batch reports that include queries of process values from an FT Historian. They do the reports in SQL...
Replies
2
Views
1,497
I've encountered an issue I am not sure how to deal with. The alarming on my FTViewv6 SE alarms are all behind 1 hour. I've verified that the...
Replies
9
Views
4,268
I have a G3-10 HMI, which has to do some date/time set actions. To when does is the G3's calendar run to? Or put it another way, what is the...
Replies
2
Views
3,306
Back
Top Bottom