Clock (time) synchronisation
Here you can unpack the complete PLC sources: TutorialSample.zip
The way in which the system time of the substation is to be synchronised can be configured via the system parameters.
- During initialisation the system time of the substation can be synchronised with the system time of the local TwinCAT PC;
- When a time synchronisation command is received from the central station, the system time of the substation can also be synchronised;
- The system time of the local TwinCAT PC can also be synchronised when a time synchronisation command is received.