23.10.8.5 Addressing Machine And Setting Data; 23.10.8.6 Addressing The User Data - Siemens SINUMERIK 808D Function Manual

Hide thumbs Also See for SINUMERIK 808D:
Table of Contents

Advertisement

Example:
Alternatively, the drive index can be read from a local variable using $<variable name> "substitution characters".
for instance DO$local variable
Example:
<DATA name = "drive/dc/p1460[do1]">1</DATA>
Indirect addressing:
<LET name = "driveIndex">1</LET>
<DATA name = "drive/dc/p1460[do$driveIndex]">1</DATA>

23.10.8.5 Addressing machine and setting data

Drive and setting data is identified by the character $ followed by the name of the data.
Machine data:
$Mx_<name[index, AX<axis_number>]>
Setting data:
$Sx_<name[index, AX<axis_number>]>
x:
N – General machine or setting data
C – Channel-specific machine or setting data
A – Axis-specific machine or setting data
Index:
For a field, the parameter indicates the index of the data.
AX<axis_number>:
The required axis (<axis_number>) has to be specified for axis-specific data.
Alternatively, the axis index can be read from a local variable using $<variable name> "substitution characters".
e.g. AX$localvariable
Example:
<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>

23.10.8.6 Addressing the 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]" 0 10 </op>
Function Manual
279
01/2017

Advertisement

Table of Contents
loading

Table of Contents