Modifying modules and data points (XML)

The following is an example of a manipulation of an existing I/O configuration by an xml data export and import.

The I/O configuration contains the following modules and data points.

TXM1.8D

Data points

Name

Signal type

Adress (module/channel)

 

Binary Input

BI_NO_1

Switch on/off, contact normally open

1/1

Binary Input

BI_NC_1

Switch on/off, contact normally closed

1/2

TXM1.8U

Data points

Name

Signal type

Adress (module/channel)

 

Analog Input

AI_0-10V_1

0...10 V DC

2/1

Analog Input

AI Ni1000_1

Temperature (LG-Ni1000 -50...180 °C)

2/2

Analog Input

AI T1(PTC)_1

Temperature (PTC)

2/3

The xml export looks like this.

xml file structure

Adding modules without data points
  1. Go to Building > Building structure.
  2. Select a device or a hierarchy object.
  3. Right-click and select Create export.
  4. The Create export dialog box opens.
  5. Select the type of content to export:

    Exporting modules and I/Os (for TXB3.M only)
  6. Open the xml file with an xml editor or any text editor.
  7. In the Modules element list (line 4…7), add another module, for example:
    <Module Type="TXM1.8X" Address="3" />
  8. Your xml now looks like this:
  9. Save the xml file.
  10. Import the xml file to your device.
    Importing modules and I/Os (for TXB3.M only)
  1. You have added a module to your I/O configuration via xml export and import. The newly added module does not contain any data points yet.

 

Adding data points without module assignment
  1. Export the I/O configuration of your device.
    Exporting modules and I/Os (for TXB3.M only)
  2. Open the xml file with an xml editor or any text editor.
  3. In the <DataPoints> element list (line 13…19), add another data point, for example:
    <DataPoint Type="BinaryInput" Name="BIPulseNO" SignalType="BI Pulse NO" />
  4. Your xml now looks like this:
  5. Save the xml file.
  6. Import the xml file to your device.
    Importing modules and I/Os (for TXB3.M only)
  1. You have added a data point to a module via xml export and import.

 

Adding data points with module assignment
  1. Export the I/O configuration of your device.
    Exporting modules and I/Os (for TXB3.M only)
  2. Open the xml file with an xml editor or any text editor.
  3. In the <DataPoints> element list (line 13…19), add another data point, for example:
    <DataPoint Type="BinaryInput" Name="BIPulseNO" SignalType="BI Pulse NO" ModuleAddress="1" ChannelAddress="3" />
  4. Your xml now looks like this:
  5. Save the xml file.
  6. Import the xml file to your device.
    Importing modules and I/Os (for TXB3.M only)
  1. You have added a data point and assigned it to a module via xml export and import.

 

Changing existing data point values
  1. Export the I/O configuration of your device.
    Exporting modules and I/Os (for TXB3.M only)
  2. Open the xml file with an xml editor or any text editor.
  3. In the <DataPoints> element list (line 13…19), make a change to a data point. For example, change the channel address of the first data point in the list so it appears in the third position instead of the first position:
    <DataPoint Type="BinaryInput" Name="BI_NO_1" Description="Binary input" HierarchyRef="Plt_1" Unit="Inactive|Active" SignalType="BI NO" FieldDevice="~" ModuleAddress="1" ChannelAddress="3" />
  4. Your xml now looks like this:
  5. Save the xml file.
  6. Import the xml file to your device.
    Importing modules and I/Os (for TXB3.M only)
  1. You have changed a data point value via xml export and import.