1/8/2024 10:11 PM | |
Joined: 10/20/2021 Last visit: 9/29/2024 Posts: 12 Rating:
|
Hello everyone, I'm working with a v18 Unified panel (MTP1200 Unified Comfort) and encountering an issue with time synchronization. I've successfully set up the PLC as an SNTP server, but the HMI time displayed on the alarm control is consistently one hour ahead. Despite setting the alarm control object's time zone to -1, as per the HMI instructions for local time, it fails to automatically adjust for Daylight Saving Time (DLS). In the PLC program, Daylight Saving Time configuration and time zone adjustments have been made using the SET_TIMEZONE function. However, this doesn't seem to affect the system time, which the SNTP function block uses. I've searched the forum for solutions and found posts outlining steps I've already tried. My current setup uses the SNTP Server function block to read the system time as follows:
Attempting to adjust for local time results in an error on the HMI alarm control. The outputs of both RD_SYS_T and RD_LOC_T are DT datatypes:
This change leads to incorrect time setting errors on the HMI alarm control window. I can make a solution using PLC logic to provide the correct timezone number to the alarm control object, but this approach seems unnecessarily complex. I would like a solution that applies globally instead of creating a solution for a single object. Is there a way to adjust this time on the HMI?? |
Last edited by: Tony from Boise at: 01/08/2024 22:12:28Last edited by: Jen_Moderator at: 01/09/2024 10:42:34Text formatting and link optimized. |
|
1/11/2024 12:29 PM | |
Joined: 1/21/2013 Last visit: 8/29/2025 Posts: 4087 Rating:
|
Hi Tony, I ran some tests with these time zone settings. Unfortunately, the list in the Unified Comfort Panel has some errors. The text '(UTC-07:00) Chihuahua, La Paz, Mazatlan, Mountain Time' is incorrect because when you select it, the time zone is set to 'America/Chihuahua (CST, -0600)'. This is the correct setting for Chihuahua, but does not correspond to Mountain Time. To have this problem fixed in the next firmware update, you should report it to Siemens by creating a support request. Kind regards |
This contribution was helpful to
1 thankful Users |
1/11/2024 5:19 PM | |
Joined: 10/20/2021 Last visit: 9/29/2024 Posts: 12 Rating:
|
Thank you Stefan. I have submitted a request. |
This contribution was helpful to
1 thankful Users |
Follow us on