Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
339
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>