1.9.9 Addressing user data
Addressing user data starts with the path section gud, followed by the GUD name.
For a field, after the name, the required field index should be specified in square brackets.
Example:
<DATA name ="gud/syg_rm[0]"
<OP>"gud/syg_rm[0]" = 10 </op>
Addressing the global user data
Addressing starts with the path section gud, followed by the specification of the area
CHANNEL. This address section is followed by the specification of the GUD areas:
GUD areas Assignment
sgud Siemens GUD
mgud Machine manufacturer GUD
ugud User GUD
GD4 to GD9 User data extended
Then enter the GUD name. If an array is to be addressed, the name is
followed by the array subscript in square brackets.
Example:
<data name ="gud/channel/mgud/syg_rm[0]">1</data>
<op>"gud/channel/mgud/syg_rm[0]" = 5*2 </op>
Addressing multi-dimensional arrays
When addressing multi-dimensional arrays, the line index is expected followed by the column
index. The indices must be indicated separated by a period.
The following applies to channel-specific GUDs:
● The channel number must be noted with the identifier u (unit) followed by the number before
or after the line/column specification.
● The sequences must be separated by a comma.
● If no channel number is indicated, access is to the first channel.
Example:
"gud/Channel/sgud/_WP[u2, 2.0]"
or
"gud/Channel/sgud/_WP[2.0, u2]"
Generating user dialogs
1.9 Addressing components
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 97