IEC60870-5-101
TF6500 implements two interfaces for the transport of the IEC 60870-5-101 ASDUs (service data unitof the application layer) via the serial interfaces of the pc and the Beckhoff KL6xxx/EL6xxx bus terminals.
‘High level’ interface:
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:
- are not familiar with the protocol standard;
- are implementing a simple application with few data points (<1000);
- are not placing any great performance demands on the application;
- are not sending any special command execution such as Select/Execute or data + time stamp from external devices;
- do not require any functions that are not supported according to the compatibility list;
‘Low level’ interface:
This interface starts lower down on the protocol stack and enables the sending and/or receipt of individual frames (ASDUs). Within the protocol structure this interface is above the link layer and pre-implements the required procedures and transfer telegram formats. Application functions such as calling of the individual counter readings or the product identification are not implemented in the interface, although the user can implement these application functions via the interface.
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 synchronization, 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:
- are familiar with the protocol standard;
- are implementing a protocol converter application;
- are implementing virtually all available standard functions in the application;
- are using special functions, such as the relaying of the time stamp from a Modbus device or the gaining of control over the command execution;
- require functions that are not supported according to the compatibility list;
- have many data points (>1000) and need high performance;
Within the protocol structure this interface is above the link layer and pre-implements the required procedures and transfer telegram formats. Application functions such as general query, time synchronization or counter queries are not implemented in the interface, although the user can implement these application functions via the interface.
Protocol structure of the end system:
Selection of application functions from IEC 60870-5-5 | User process |
---|---|
Selection of ASDU (service data units of the application layer) from IEC 60870-5-3, IEC 60870-5-4 and IEC 60870-5-101 | Application layer (7) |
N/A | Presentation layer (6) |
Session layer (5) | |
Transport layer (4) | |
Network layer (3) | |
unbalanced / balanced IEC 60870-5-2 IEC 60870-5-1 (FT 1.2) | Link layer (2) |
EIA RS485, RS232 (V.24), Fiber Optics | Physical layer (1) |
![]() | Layers 3 to 6 are not used. |