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.
Publié pour: Schneider Electric Belgium


Besoin d'aide ?
Sélectionnez le bon produit
Trouvez rapidement et facilement les produits et accessoires adaptés à vos applications.
Obtenir un devis
Effectuez une demande de renseignements en ligne et un expert vous contactera.
Où acheter ?
Trouvez facilement le distributeur Schneider Electric local le plus proche.
Centre d'aide
Trouvez des ressources de support pour tous vos besoins, en un seul endroit.