1.Description
This module holds up to 4 numeric values (INT or FLOAT) in an XML structure. The values output in the XML structure are FLOAT values.
The names of the four XML tags can be set via the inputs E1, E3, E5 and E7. Sending a value to one of these inputs does not result in the output of XML structure.
Values can be assigned to these tags via the inputs E2, E4, E6 and E8. Sending a value to one of the inputs results in the output of an XML structure for precisely this value at Output A1, if 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 along with all tags to which names have been assigned.
The names of the four XML tags can be set via the inputs E1, E3, E5 and E7. Sending a value to one of these inputs does not result in the output of XML structure.
Values can be assigned to these tags via the inputs E2, E4, E6 and E8. Sending a value to one of the inputs results in the output of an XML structure for precisely this value at Output A1, if 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 along with all tags to which names have been assigned.
Important
No check is carried out to determine whether the specified tag names meet 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 listed in the table at the inputs are carried out one after the other in exactly the sequence specified.
Value | at Input | Output at A1 | Comment |
---|---|---|---|
T1 | E1 | Tag name defined | |
t2 | E3 | Tag name defined | |
TAG 4 | E7 | Tag name defined (invalid, according to the XML guidelines) | |
5 | E2 | <T1>5.0</T1> | A tag name has already been defined for this value (E1) |
4.25 | E4 | <t2>4.25</t2> | A tag name has already been defined for this value (E3) |
-2789 | E6 | No tag name has been defined to this value (E5), therefore no output! | |
-0,002 | E8 | <TAG 4>-0.002</TAG 4> | A tag name has already been defined for this value (E7) |
Tdrei | E5 | Tag name defined | |
1 | E9 | <T1>5.0</T1><t2>4.25</t2><Tdrei>-2789</Tdrei><TAG 4>-0.002</TAG 4> | Since a tag name has since been defined at E5, <Tdrei> is also output. |
5.Other
Recalculation during start: | No |
---|---|
Module is retentive: | No |
Internal designation: | 18027 |
Category: | Data exchange |