IEC 60870-5-101 Slaveconfiguration
The workbench includes an integrated configurator for the IEC 60870-5-101 slave protocol. Please refer to the following topics:
Port
configuration
Variables
configuration
Data types
To establish the communication, run the Fieldbus configuration using "Tools / Fieldbus Configuration" menu command from the main window. Then select the "IEC 60870-5-101" configuration.
The configuration is represented as a tree:
- IEC
60870-5-101 configuration
- Communication port
For each port you must specify the following properties:
Name |
Free description text |
Link address |
IEC link address number |
Port number |
Number of the serial port used |
Baudrate |
Communication baud rate |
Commands active |
If this option is unchecked, commands will be denied. |
Max user data |
Maximum size of exchanged data |
Short pulse |
Short pulse duration in milliseconds |
Long pulse |
Long pulse duration in milliseconds |
Link address size |
Size of the link address (bytes) |
CAOA size |
Size of the common address (bytes) |
COT size |
Size of the type (bytes) |
IOA size |
Size of the object address (bytes) |
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:
CAOA |
Common address |
TID |
Type identifier |
IOA |
Object address |
The use of this profile applies to both IEC 60870-5-101 and 60870-5-104 slave protocols.
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.