XML-File

Previous chapterNext chapter Show allShow all    Hide allHide all

The configuration of the IEC870SI is stored in an XML file. You can import and export different configurations with the buttons 'Export' and 'Import' in the main window.

The active configuration is stored in the INI file, for example:
[IEC 870]
SETTINGS=IEC870SLAVE.XML

You can choose any name. The path is the same as in the INI file.

Structure of the XML file

The names of most fields give an intuitive explanation of their meaning. The settings are the same as the ones accepted in the dialog.

The values and structure of the XML file are verified when the file is read. Erroneous entries trigger an error message that is also logged.

attention Attention

XML entries are case sensitive. Pay attention to use correct upper and lower cases.

Name

Property

process_gateway_IEC870Slave

The root node must have this name. Otherwise, the reading process will stop with an error.

VERSION 

Contains the current version of attributes and nodes.

Device_x 

Nodes for the device configuration. X is replaced by a consecutive number, starting with 1.
This way of naming nodes is not obligatory. A device is created for every node.

LinkAdr 

In protcol 101, the 'link address' is set here. It must be unique for all devices. For protocol 104, this entry has no meaning.

IpAdr 

In protocol 104, the IP address of the Master is entered here. It must be unique for all devices. For protocol 101, this entry has no meaning.

Sector_x 

Number of nodes per configured sector. X is replaced by the COA.
This way of naming nodes is not obligatory. A sector is created for every node.

IO_x 

Number of nodes per information object. X is replaced by a consecutive number, starting with 1.
This way of naming nodes is not obligatory. An IO is created for every node.

ScadaVar 

When the document is loaded, the existence of the specified variable in the project is verified. Variables withour project reference are lookef for in the default project.
[ScadaProjectName#]ScadaVariableName. (Scada stands for the name of the process control system.)

TypeId 

Type identification. When the document is loaded, the system will check if the type ID with the specified variable data type is possible.

COA 

Common object address. Must be unique for every device per sector.

IOA 

Information object address. In combination with the type ID, it must be unique per sector.

Is101active 

With the value '1', the protocol 101 is activated, otherwise 104 will be active.

Example Example

Sample configuration for protocol 101:

Example Example

Sample configuration for protocol 104: