TcIEC870_5_101Slave: IEC 60870-5-101 Controlled Station (slave)

The substations (slaves) according to IEC60870-5-101 can be realised in the TwinCAT PLC with the PLC functions and function blocks.

The PLC library has two software interfaces. The end application is imposed on one of these interfaces. The choice of interface depends on the requirements for the end application. The characteristics of both interfaces are described briefly below.

 

'High level' interface: IEC 60870-5-101 Controlled Station

This interface is a so-called ‘single-block solution’. All functions are encapsulated in one PLC block. The block implements the most important services and functions. This implementation is sufficient for over 90% of applications.

Pro: Very little PLC programming work is required in order to create an application; all services, such as general query, counter query, time synchronisation, command execution, spontaneous data transmission etc. are already implemented in the block and are executed automatically; the mapping of the IEC<->PLC process data and that of the data points is configured via function calls; the PLC programmer does not need to be very well acquainted with the protocol standard;

Contra: The PLC application has only a small influence on the execution of the protocol; no influence on the execution of the services – these are automatically implemented internally; time stamps are automatically generated by the block and cannot be changed (handed over by externals); only the direct command execution, for example, is possible; poorer performance if there are many data points.

 

This interface is recommended if you:

 

'Low level' interface: IEC 60870-5-101 Serial Link Interface

This interface starts lower down on the protocol stack and enables the sending and/or receipt of individual frames (ASDUs).

Pro: Very flexible; all properties in the ASDU frame can be changed (e.g. an own time stamp, Select/Execute or a special command execution etc.); high performance can be achieved because only the necessary services are implemented; high performance if there are many data points;

Contra: Larger amount of programming work; all services, such as general query, counter query, time synchronisation, command execution, spontaneous data transmission etc. must be implemented by the PLC programmer himself (programmed out); the PLC programmer must be familiar with the protocol standard.

 

This interface is recommended if you:

 

Interoperability check list

for TwinCAT PLC Library: IEC 60870-5-101 controlled station (relating to the "high level" interface). Here you can open/save the protocol interoperability document (zipped PDF).

 

System requirements

Development environment:

Target system:

 

Product components

 

Installation on Windows NT (XP, XPe/WES, Vista, W7, WES7, ...)

The PLC libraries are copied into the folder: ..\TwinCAT\Plc\Lib.

Installation on Windows CE

You don't have to install any additional components on the CE platform.

TcIEC870_5_101Slave: IEC 60870-5-101 Controlled Station (slave) 1:

This document is not full product manual. Please install the full version of the Beckhoff Information System.

You will find it

Examples

Example projects are in the Beckhoff Information System documentation of TwinCAT PLC library.

Link to 'high level' example overview page: IEC 60870-5-101 controlled station;

Link to 'low level' example overview page: IEC 60870-5-101 Serial Link Interface;

 

Further Documentation