Addressing Machine And Setting Data - Siemens SINUMERIK 808D ADVANCED Commissioning Manual

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

Advertisement

Example:
<LET name="r0002_content"></LET>
<LET name="p1460_content"></LET>
<!— Reading of value r0002 on the CU of drive with address 11 ->
<op> r0002_content = "drive/cu/r2[do1]" </op>
<!— Reading of value r0002 on the CU of drive with address 15 ->
<op> r0002_content = "drive/cu/r0002[do5]" </op>
<!— Reading of value p1460 on dc of drive with address 12 ->
<op> p1460_content = "drive/dc/p1460[do2]" </op>
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>
14.9.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>
...
...
Commissioning Manual
354
01/2017

Advertisement

Table of Contents
loading

Table of Contents