I’m wrapping up my initial project using a Do-More PLC, which is set to launch tomorrow morning. I’m fine-tuning some details, including the critical feature of automatic adjustments for daylight savings time. As I delve deeper into the issue, I’m surprised that I can’t find much information online about this common challenge. It seems like others must have encountered this situation as well. To resolve it, I’m considering implementing a comparator that triggers a bit based on specific criteria: greater than the second Sunday in March at 2:00 AM and less than the first Sunday in November. I'm looking for creative solutions to achieve this! For the second Sunday in March, my initial thought is to use the condition $Now.day > 7. If anyone has alternative methods or insights I may not have explored, I would greatly appreciate your input!
Don't worry, I’ve figured it out! The key is to ensure that the PLC recognizes whether it is observing Daylight Saving Time (DST), even if it has been powered off during the transition. This process primarily revolves around two critical weeks: one in March and one in November. For the rest of the year, all time frames are known, allowing you to easily set up greater-than or less-than comparisons for the remaining months and the adjacent weeks in March and November. Ultimately, this results in seven comparison rungs for the uncertain days from March 8th to 13th and another seven for November 1st to 6th. To achieve this, you can incorporate the $Now.DayOfWeek function for those specific weeks, as they will only cycle through once each year.
Are you experiencing difficulties with the two-rung example featured on the AutomationDirect website? If so, you can find it [here](https://support.automationdirect.com/examples/DM/EP-MISC-028_DM.zip). Don't forget to add the project link for easy access!
Certainly! Here's a refined version of your text that enhances its quality and SEO-friendliness: "I am experiencing a significant issue with my system. What I need is more than just a simple bit set and reset. If the machine is powered off during the daylight saving time (DST) transition, it malfunctions. After pondering the problem last night, I developed a ladder program that automatically adjusts for DST changes, ensuring accurate timekeeping regardless of when the machine is turned on."
AutomationTechBrian shared his concern: "I have encountered a problem. I need more than just a basic set and reset function. If the machine loses power during the time shift, it can malfunction. Last night, I developed a ladder program that automatically adjusts for Daylight Saving Time (DST), no matter when the system is powered on. You can find an example program addressing this issue in the first section of the page, although it is specifically designed for DL-series CPUs."
Glad to hear that you successfully adjusted the daylight saving time settings in Do More!
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.