{}

Наші бренди

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

Вітаємо на веб-сайті Schneider Electric

Ласкаво просимо на наш веб-сайт.
Пошук серед найпопулярніших питань
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 Україна

Вкладення
M241_HMISTU_RTC_synchronization.zip [7.24 MB]
Досліджуйте більше
Серія:
Статті, які можуть бути корисними
Досліджуйте більше
Серія: