1.Description
This node holds up to 4 numerical values (INT or FLOAT) in an XML structure. The values output in the XML structure are FLOAT values.
The names of the 4 XML tags can be set via inputs E1, E3, E5 and E7. Sending a value to one of these inputs does not affect any output.
Values can be assigned to these tags via inputs E2, E4, E6 and E8. Sending a value to one of these inputs outputs an XML structure for just this value at output A1, as long as a name has been assigned to the associated tag.
When sending a value >0 to input E9, an XML structure is output at output A1 with all tags to which names have been assigned.
The names of the 4 XML tags can be set via inputs E1, E3, E5 and E7. Sending a value to one of these inputs does not affect any output.
Values can be assigned to these tags via inputs E2, E4, E6 and E8. Sending a value to one of these inputs outputs an XML structure for just this value at output A1, as long as a name has been assigned to the associated tag.
When sending a value >0 to input E9, an XML structure is output at output A1 with all tags to which names have been assigned.
Important
No check is carried out to determine whether the specified tag names are assigned in accordance with the XML guidelines.
Note
During an exchange via TCP/IP, it is advisable to link the "Queue" module (18018_Queue.hsl) to this output.
2.Inputs
No. | Name | Initialisation | Description |
---|---|---|---|
1 | E1 Tag 1 | "" | Name of XML Tag 1 |
2 | E2 Value 1 | 0 | Numeric value 1 |
3 | E3 Tag 2 | "" | Name of XML Tag 2 |
4 | E4 Value 2 | 0 | Numeric value 2 |
5 | E5 Tag 3 | "" | Name of XML Tag 3 |
6 | E6 Value 3 | 0 | Numeric value 3 |
7 | E7 Tag 4 | "" | Name of XML Tag 4 |
8 | E8 Value 4 | 0 | Numeric value 4 |
9 | E9 Send all | 0 | If this input receives a value not equal to zero, then an XML structure with all values is created. |
3.Outputs
No. | Name | Initialisation | SBC | Description |
---|---|---|---|---|
1 | A1 SEND | "" | s | XML structure as text. No special characters, e.g. CR and LF, are contained in this structure. |
s = send, sbc = send by change
4.Value table as an example
The value assignments at the inputs listed in the table are made one after the other in the exactly the order specified.
Value | At Input | Output at A1 | Comment |
---|---|---|---|
T1 | E1 | Tag name specified | |
t2 | E3 | Tag name specified | |
TAG 4 | E7 | Tag name specified (invalid according to the XML guidelines) | |
5 | E2 | <T1>5.0</T1> | A tag name has already been specified for this value (E1) |
4.25 | E4 | <t2>4.25</t2> | A tag name has already been specified for this value (E3) |
-2789 | E6 | A tag name has not yet been specified for this value (E5), therefore no output! | |
-0,002 | E8 | <TAG 4>-0.002</TAG 4> | A tag name has already been specified for this value (E7) |
Tdrei | E5 | Tag name specified | |
1 | E9 | <T1>5.0</T1><t2>4.25</t2><Tdrei>-2789</Tdrei><TAG 4>-0.002</TAG 4> | As a tag name has been specified at E5 in the meantime, <Tdrei> is also output. |
5.Other
Recalculation during start: | No |
---|---|
Module is retentive: | No |
Internal designation: | 18027 |
Category: | Data exchange |