Number in XML structure
Contents

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.
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.NameInitialisationDescription
1E1 Tag 1""
Name of XML Tag 1
2E2 Value 10
Numeric value 1
3E3 Tag 2""
Name of XML Tag 2
4E4 Value 20
Numeric value 2
5E5 Tag 3""
Name of XML Tag 3
6E6 Value 30
Numeric value 3
7E7 Tag 4""
Name of XML Tag 4
8E8 Value 40
Numeric value 4
9E9 Send all0
If this input receives a value not equal to zero, then an XML structure with all values is created.

3.Outputs

No.NameInitialisationSBCDescription
1A1 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.
ValueAt InputOutput at A1Comment
T1E1Tag name specified
t2E3Tag name specified
TAG 4E7Tag name specified (invalid according to the XML guidelines)
5E2<T1>5.0</T1>A tag name has already been specified for this value (E1)
4.25E4<t2>4.25</t2>A tag name has already been specified for this value (E3)
-2789E6A tag name has not yet been specified for this value (E5), therefore no output!
-0,002E8<TAG 4>-0.002</TAG 4>A tag name has already been specified for this value (E7)
TdreiE5Tag name specified
1E9<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

6.Similar functions

Integer from XML structure