Introduction (tutorial)
This introduction explains how to implement and configure an IEC60870-5-101 substation (slave) within the TwinCAT PLC.
Here you can unpack the complete PLC sources: TcPlcLibIEC870_5_101Slave_TutorialSample.zip
Further Information
- Creating a PLC project and integrating PLC libraries
 - The fast PLC task
 - Defining and configuring an application object database of controlled station
 - Mapping of PLC and IEC process data
 - Declaring and calling an instance of the IEC60870-5-101 substation
 - IEC60870-5-101 protocol parameters
 - System parameters
 - Station interrogation
 - Transfer of integrated totals (counter interrogation)
 - Clock (time) synchronisation
 - Background scan
 - Cyclic data transmission
 - Command transmission
 - Interrogation / Read command
 - Double transmission
 - Quality Flags
 - Testing the communication
 - Protocol and data transmission errors