SFC 0                Set the CPU-Clock

Top  Previous  Next

 

With this system function the clock of the CPU can be set. For this you have to declare a local DATE_AND_TIME-variable first and set this to the desired date and time with the IEC-function FC3 afterwards.

 

The SFC 1 can be used to read out the clock.