IEC 60870-5-104 Slaveconfiguration

The workbench includes an integrated configurator for the IEC 60870-5-104 slave protocol. Please refer to the following topics:

Port configuration
Variables configuration
Data types

Port configuration:

To establish the communication, run the Fieldbus configuration using "Tools / Fieldbus Configuration" menu command from the main window. Then select the "IEC 60870-5-104" configuration.

The configuration is represented as a tree:

- IEC 60870-5-104 configuration
  - Communication port

At the root level (configuration) you must specify the used ETHERNET port number (usually 2404)

For each port you must specify the following properties:


Free description text

Host IP address

IP address of the host (master) to be connected to the runtime

Port number

Number of the serial port used

Commands active

If this option is unchecked, commands will be denied.

APDU size

Size of the APDUs in bytes

Short pulse

Short pulse duration in milliseconds

Long pulse

Long pulse duration in milliseconds

Link address size

Size of the link address (bytes)

Variables configuration

Exchanged variables are not described in the fieldbus configuration, but using "profiles". To map a variable to the IEC 60870-5 slave protocol, edit its properties using the "Properties" command of the contextual menu in the variable editor, and then select the "IEC60870S" profile. Then you must specify the following properties for the variable:


Common address


Type identifier


Object address

The use of this profile applies to both IEC 60870-5-101 and 60870-5-104 slave protocols.

Data types:

You can freely map a variable of any data type to the configuration. The runtime automatically converts the value to the type of the variable. STRING variables are not supported.