Issue:
Read the time information from the M241/M251/M262 PLC to synchronize the HMIST6 internal clock.
Product Line:
EcoStruxure Operator Terminal Expert, EcoStruxure Machine Expert
Resolution:
In order to synchronize the HMI time with the PLC time, you must make use of a few libraries in Machine Expert.
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 Operator Terminal Expert.
For a complete setup of an example of how to get and set the PLC time, please see the example in the attached file.
Please download the project to an HMI to test it out. It does not work in simulation mode.
Udgivet til: Schneider Electric Danmark


Brug for hjælp?
Produktvælger
Find hurtigt og nemt de rette produkter og det rette tilbehør til dine anvendelser.
Få et tilbud
Start din salgsforespørgsel online, så vil du blive kontaktet af en ekspert.
Find forhandler
Find den nærmeste Schneider Electric-distributør.
Hjælpecenter
Find supportressourcer til alle dine behov på ét sted.