Read time from variable |
Manual -> Variables -> Variable - Functions -> Read time from variable |
Show all Hide all |
With this function the PC can be synchronized with a connected PLC. On executing the function a string variable is read from the PLC. If the difference between PC and PLC time is larger than one second, the PC system time is set and an entry in the CEL is generated. The string variable must have the following format: DD.MM.YYYY HH:MM:SS
The name of the variable has to be given as a parameter.