{}

我們的品牌

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

歡迎訪問我們的網站
搜尋常見問題
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]
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]
探索更多
系列:
探索更多
系列:
探索更多
系列:
探索更多
系列:
move-arrow-top
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.