Function Manual
01/2017
279
Alternatively, the drive index can be read from a local variable using
"substitution characters".
for instance DO$local variable
<DATA name = "drive/dc/p1460[do1]">1</DATA>
<LET name = "driveIndex">1</LET>
<DATA name = "drive/dc/p1460[do$driveIndex]">1</DATA>
Addressing machine and setting data
Drive and setting data is identified by the character $ followed by the name of the data.
$Mx_<name[
]>
$Sx_<name[index, AX<axis_number>]>
N – General machine or setting data
C – Channel-specific machine or setting data
A – Axis-specific machine or setting data
For a field, the parameter indicates the index of the data.
The required axis (
) has to be specified for axis-specific data.
Alternatively, the axis index can be read from a local variable using
"substitution characters".
e.g. AX$localvariable
<DATA name ="$MN_AXCONF_MACHAX_NAME_TAB[0] ">X1</DATA>
Direct addressing of the axis:
<DATA name ="$MA_CTRLOUT_MODULE_NR[0, AX1] ">1</DATA>
…
…
Indirect addressing of the axis:
<LET name ="axisIndex"> 1 </LET>
<DATA name ="$MA_CTRLOUT_MODULE_NR[0, AX$axisIndex] ">1</DATA>
Addressing user data starts with the path section
, followed by the GUD name.
For a field, after the name, the required field index should be specified in square brackets.
<DATA name ="gud/syg_rm[0]"
<OP>"gud/syg_rm[0]" 0 10 </op>