Hello everybody,
I'm new to the Unitronics world.
I have to synchronize the PLC clock and the idea is to read the time zone and the UTC from the MySQL database and set the time with the Set PLC date/time elements.
However, sometimes the updating functions hang, with the status 1, and date and times are not set.
The tags RtcDateSql, RtcTimeSql and RtcTzFromSql contain the right values, and they are updated correctly everytime RtcQueryTrigger is pulled up.
I have done some test, anyway I wasn't able to find the reason this function sometimes works and sometimes not.
Am I doing something wrong?
The PLC is a USP-070-B08 with the USC-P-B10 CPU, no I/O or COM installed. CPU OS 1.28.35, Panel 1.28.58, UniLogic 1.28.34
Thank you for your attention