{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
Search FAQs
You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
Is there an example on how to Sync the time between an HMISTU and M241?
Issue:
When using the HMISTU and M241 PLC, is there a way to read the time information from the M241 PLC and use that to synchronize the HMISTU's internal clock?

Product Line:
Vijeo Designer, SoMachine, Magelis HMI, XBTGT, XBTGK, HMISTO, HMISTU, HMIGTO, HMIGTU, HMIGK

Resolution:
In order to synchronize the HMI time with the M241 time, you must make use of a few libraries in SoMachine.

You will need to use the following:
SysTimeRtcGet -> This gets the controller's time
SysTimeRtcConvertUtcToDate -> This will convert the controller's UTC info to a readable date
SYSTIMEDATE -> This will store all the date and time information in tags that can be used by the HMI in Vijeo Designer.

For a complete setup of an example of how to get and set the PLC time, please see the example in the attached file.

Schneider Electric Vietnam

Attachment(s)
M241_HMISTU_RTC_synchronization.zip [7.24 MB]
Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: