Addressing The Drive Objects - Siemens SINUMERIK 828D Commissioning Manual

Turning and milling, valid for cnc software version 4.5
Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Addressing the global user data
Addressing starts with the path section gud, followed by the specification of the area
CHANNEL. This address section is followed by the specification of the GUD areas:
GUD areas
sgud
mgud
ugud
Then enter the GUD name. If an array is to be addressed, the name is followed by the array
subscript in square brackets.
Example:
<data name ="gud/channel/mgud/syg_rm[0]">1</data>
<op>"gud/channel/mgud/syg_rm[0]" = 5*2 </op>
8.7.33

Addressing the drive objects

Syntax for Drive Objects (DO)
Addressing starts with the path section "drive". Then the drive device is specified: CU or DC.
The parameter to be set is added to this section.
To address individual objects, the desired object should be entered in square brackets after
the parameter.
Parameter number[do<DO-index>]
Example:
Note
Numbering
The number of the drive object differs from the numbering used in the drive dialog, since the
CU components, ALM and all connected hubs are integrated in the consecutive numbering.
The DO number can be determined as follows:
All connected drive objects are listed in field p0978 of the relevant CU. The numerical value
of a field corresponds to the slot number of a drive object. 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.
If there are drive objects connected to an NX, the index of the last CU drive object should be
established first and the index of the NX drive object should be added to it.
Alternatively, the drive index can be read from a local variable, e.g. DO$localvariable, using
a "substitution character" $<variable name>.
Turning and Milling
Commissioning Manual, 02/2012, 6FC5397-3DP40-3BA0
p0092[do1]
8.7 Description of the script language
Assignment
Siemens GUD
Machine manufacturer GUD
User GUD
Easy Extend
231

Advertisement

Table of Contents
loading

Table of Contents