Siemens SINUMERIK 828D Commissioning Manual page 829

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

Advertisement

<!— Reading of value r0002 on NX1 ->
<OP> r0002_content = "drive/cu/r0002[CU2]" </OP>
<!— Reading of value p107[0] on the CU ->
<OP> p107_content = "drive/cu/p107[0]" </OP>
<PRINT text="%d"> p107_content </PRINT>
<!— Reading of value p107[0] on the CU ->
<OP> p107_content = "drive/cu/p107[0, CU1]" </OP>
<PRINT text="%d"> p107_content </PRINT>
<!— Reading of value p107[0] on the NX1 ->
<OP> p107_content = "drive/cu/p107[0, CU2]" </OP>
<PRINT text="%d"> p107_content </PRINT>
Addressing the drive objects:
To address individual objects, the desired object should be entered in square brackets after
the parameter.
Note
The drive object number differs from the numbering used in the drive dialog, since the CU
components, ALM, and all connected hubs are integrated with the continuous numbering.
The DO number can be established as follows:
● All connected drive objects are listed in field p978 of the relevant CU corresponding to their
slot number.
● It is a question of establishing the field index for the desired slot and adding one to this
number. This value is the DO index needed for addressing purposes.
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Generating user dialogs
1.8 Addressing components
77

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents