Quick start

Simple projects with complete sources can be found here: IEC60870-5-101 control station.

Interoperability check list can be found here: Interoperability check list

Communication- and/or device error code overview can be found here: Error codes

Detailed introduction to implementation of control station in TwinCAT PLC can be found here: TUTORIAL

Short quide

Application object database

The application object database of the central station must be configured as hash table with the function F_iecCreateTableHnd. The individual array elements are linked with each other in the form of a hash table. This enables faster access to the individual data points, but also has certain disadvantages that must be taken into account:

An implementation in the form of linear table would mean that for each received ASDU (data unit) the central station would have to search the complete array for a suitable element. With many data points this would lead to long execution times.

Protocol parameters

Most protocol parameters are preconfigured with default values and do not have to be set explicitly.

System parameters

The system parameters are also preconfigured with default values. During commissioning it is useful to activate debugging output (dbgMode) to be able to locate any errors.

Parameters for cyclic data acquisition

The following parameters are preconfigured with default values: