Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure
Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-04 02:19 PM
Looking to do some time based functions on an M580 with hot standby.
Looks like the controller operates on UTC. Trying to find the UTC Offset that it is using, and the selection of Daylight Savings Time.
The RRTC_DT function seems to take this into account.
Are these values brought out in system words somewhere?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-04 11:26 PM
hello @mmaliga ,
In runtime, the %S58 get you If the application is configured to support the adjust clock for daylight saving, thissystem-managed bit set to 1 indicates that the current date is in summer time. In program, you have to check the Tools\Pragram Settings.
Take a look the "System Bits and Words
Reference Manual" document.
BR
Ricard
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-06 05:49 AM
Thank you. This document aligns perfectly with the product help. I know when you set up the NTP server, UTC Offset, DST Start and Stop are part of the configuration. Are they not in system words? I just can't imagine that, although I cannot find them.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-07 12:04 AM
This information is not available
right now, unless the application needs this information.
But if you configure these parameters, you know about them.
unfortunately I can't help you sorry
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-07 05:44 AM
There is no direct information available about UTC offset but you can easily calculate it. Use RRTC_DT block as a source of local time. Use %SW51 as UTC time. Subtract them and you have an offset. This along with %S58 system bit provided by Ricard should give you all the information you need.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-07 05:49 AM
Yes, the application needs the information. And yes, I know what these values are. I have added variables to handle them. I was hoping to not have to change these things in multiple places in the same controller.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of