Introduction (tutorial)
This introduction explains how to implement and configure an IEC60870-5-101 control station (master) within the TwinCAT PLC.
Here you can unpack the complete PLC sources: TutorialSample.zip
Further Information
- Creating a PLC project and integrating PLC libraries
 - The fast PLC task
 - Defining and configuring an application object database of controling station
 - Mapping of PLC and IEC process data
 - Declaring and calling an instance of the IEC60870-5-101 controlling station
 - IEC60870-5-101 protocol parameters
 - System parameters
 - Initialisation sequence
 - Station interrogation
 - Transfer of integrated totals (counter interrogation)
 - Clock (time) synchronisation
 - Testing the communication
 - Protocol and data transmission errors