Tutorial
The introduction explains how to implement and configure an IEC60870-5-101 central station (master) in the TwinCAT PLC. The sample can be downloaded here.
Further Information
- Download: Central station Tutorial (master, unbalanced mode)
- Glossary
- 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)
- Testing the communication
- Protocol and data transmission errors
- Troubleshooting and debugging
- Configuration of serial interface