day light savings time

Since the SLC's which have real-time clock information do not have 'day of week' this becomes a bit fun. You can start a register with a number (0-6) and adjust it each night at midnight.


After that you must check for the proper month, day range and day of week so that you can do the adjustment. For the fall adjustment don't forget to make a bit saying that you've already adjusted it or you'll keep doing it over and over.
 
I did that in an SLC500 here, but it's not too cute. We have a couple processes that need to start up 1/2-1 hour prior to the start of each shift.

What I did was to compare the date and time and in the spring, add one hour, fall subtract one hour. I did this so that I did not have to hook up my laptop twice a year just to move that one hour.

Problem with my set up, is that every year, it does that same date, even though daylight savings is on a different date each year. The guys compenate for the days that it's off, by making sure someone has the precesses started manually for those few days where I'm off sync. I used to adjust to actual dates when ever I was in the PLC, but it was easier to just remember the same dates each year.
I'm sure there's a better way, but 4-5 years ago, that was all I came up with. (Haven't thought about it in just about that long, either, so I'll be watching this one.)
 
Last edited:
Someday PLC's will have this built-in, like PCs do... until then, maybe it can be done like humans do it...

You could have a simple one button routine that will do the "Spring-Ahead" thing (add one-hour to the current time, as in spring-ahead). And another button that will do the "Fall-Back" thing (subtract one-hour from the current time). Of course, just as we regular folk need a reminder that the daylight savings adjustment occurs today... you need to have a means to notify the production folk that an adjustment is necessary... really soon.

The notice, should, or could, be in the form of a memorandum, e-mail, whatever, indicating... Don't Forget! Day-Light Savings adjustment today, or tonight.

Of course, this can be a bi#ch for those processes that generate reports based on time... if the production folks forget... then... grief.

As for many PLC decisions... it's a trade-off.
 
The SLC500 does have day of the week register

S:53 Reserved/Clock Calendar Day of the Week

This makes determining the first sunday of the month alot easier
 

Similar Topics

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
Finishing up my first project with a Do-More PLC to install tomorrow morning. I'm working on small details.... like automatically adjusting for...
Replies
5
Views
1,876
Using GSV WallClockTime and LocalDateTime, when I check the box "adjust for Daylight Savings" it advances the time by one hour. What is the...
Replies
3
Views
6,399
Hello I have four slc 505 processors on an ethernet/IP network. I would like to be able to change the time and date in only one of the processors...
Replies
4
Views
2,223
I searched for an example of how to adjust for daylight savings time, but I could not find one anywhere. So after considerable thought and time...
Replies
19
Views
11,112
Back
Top Bottom