CAI_Support
Senior Member
All the internet protocols use UTC internally, like browser, Unix server, same also WC, its internal clock runs on UTC. timezone and DST is only for human interfaces. We could add another function allowing PLC program set internal clock by something like
SET CTS VARx/RAMy
Currently CTS can only being referenced. To avoid 32 bit signed number running out digit, CTS is actually UTS minus a constant number, so that extend the 32 bit signed number not expire at year 2038.
Would that save your trouble for sync clock with your server? You still need to verify the WSRLY is valid value before set CTS, Current Total Seconds.
If you have any other suggestion to make it work better, we always listen.
SET CTS VARx/RAMy
Currently CTS can only being referenced. To avoid 32 bit signed number running out digit, CTS is actually UTS minus a constant number, so that extend the 32 bit signed number not expire at year 2038.
Would that save your trouble for sync clock with your server? You still need to verify the WSRLY is valid value before set CTS, Current Total Seconds.
If you have any other suggestion to make it work better, we always listen.