IEC 60870-5 Driver

IEC drivers are standardized remote control drivers that can contain proprietary telegrams. IEC stands for International Electrotechnical Commission. The exact name of the protocol is IEC 60870-5-104 (TCP/IP data transmission) and IEC 60870-5-101 (for serial connection).

Features

  • Widely used, standardized remote control protocol.

  • Process connection via TCP/IP Ethernet network or serial.

  • Unlike VA TECH SAT & Co's SSI protocol (see SSI driver), in this case master control stations are not always used as data concentrators, rather all stations can be accessed as autonomous "bus users".

  • The specifications allow vast scope and numerous variations: compatibility is only possible by means of an exact comparison of the supported functions (the IEC identifier is not enough!).

  • In addition, the standard also allows 128 types of proprietary telegram - the WinCC OA driver implements the special telegrams for VA TECH SAT & Co's SSI protocols (by default, WinCC OA sends other proprietary telegrams as blobs).

  • Other IEC 60870 versions are not supported (e.g. 103 for electrical protection equipment).

IEC 104, IEC 101

WinCC OA supports the two protocols IEC 60870-5-104 and IEC 60870-5-101.

IEC 101 distinguishes between two modes of transmission:

  • balanced (symmetrical transmission): 1 primary station: 1 secondary station. Station A and B with equal rights.

  • unbalanced (asymmetrical transmission): 1 primary station: n secondary stations, data acquisition by pure polling.

The IEC 101 supports only the Master mode. The Slave mode is not supported.

Addressing scheme for drivers and connections

The address format of the IEC driver is as follows:

  • Type. Common Address. Information Object Address

The type only specifies the type of telegram (e.g. single-point information, measured value, etc.) and is therefore not required for the definition of connection addresses.

  • Common Address describes the station, where data are coming from or where data are sent to.

  • Information Object Address is the address specification within the telecontrol components.

The connections to telecontrol components are configured on a separate panel. The driver only sends telegrams to the stations contained in the lists on this panel. It is a kind of address "filter".

In WinCC OA, the addresses of redundant connections are combined in a "global list" that you can apply to other connections simply by clicking. A value of "*" means all values between 0 and 255 are allowed.

It is also possible to specify the connection name explicitly in the peripheral address panel. In that case the lists will be ignored.

Figure 1. Link between address and connection

On the IEC connections panel that would look like this:

All addresses of Gateway1 are listed on the panel, all local connections only accessible through Gateway1 on the left, and the two global connections accessible through Gateway1 or Gateway2 on the right. In Gateway2 you can click to apply the global list for Gateway1, i.e. you do not have to configure the addresses twice.

Chapter Description
IEC driver, basics Overview and links to the other chapters
Requirements and installation Installation, entries and sample config file
IEC driver config file Config file with necessary entries for IEC 104 and IEC 101 (symmetrical and asymmetrical) transmission
Panel for connections This panel is used to create and define component connections
Panel for defining the peripheral addresses of the IEC driver Panel for peripheral address parameter setting
Quality identification Panel for setting quality bits and mapping these bits on WinCC OA status bits
IEC file transfer Description and notes for using the IEC file transfer with 101 and 104 driver
Sample IEC driver Establishing communication
Internal data points of the IEC driver Table of internal data point elements
Possible IEC driver config entries Description of possible config entries for IEC104 and IEC101
IEC driver details Data transmission based on the IEC standard
Compatibility of IEC 104 (interoperability) List from the standards for the IEC driver 60870-0-5-104, with corresponding WinCC OA definitions
Compatibility of IEC 101 (interoperability) List from the standards for the IEC driver 60870-0-5-101, with corresponding WinCC OA definitions
Summary and relevant links Other relevant chapters in the Online Help