Tag identifier
LET Continued
MSG
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Meaning
Access to a variable of the structure is via the structure name and variable name. Both
names are separated by a point operator.
<op>
Structure_name.variable_name = value;
</op>
Example:
<let name="info" type="struct">
<element name="id" type="int" />
<element name="name" type="string" />
<element name="phone" type="string" />
</let>
<op>
info.id = 1;
info.name = _T"my name";
info.phone
= _T"0034 45634";
</op>
Initialization of structures:
Structures can be initialized when the variables are created by specifying an initial value
for each structure element. In an array of structures, each structure must be separated from
the others by braces.
The operator component shows the message which is indicated in the tag.
If an alarm number is used, the dialog box displays the text which is saved for the number.
Example:
<MSG text ="my message" />
Generating user dialogs
1.6 XML identifier
27