{}

我們的品牌

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

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
搜尋常見問題
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.

施耐德電機Taiwan

附件
M241_HMISTU_RTC_synchronization.zip [7.24 MB]
探索更多
系列:
可能有幫助的文章
探索更多
系列: