Siemens SINUMERIK 828D Programming Manual page 29

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

Advertisement

Program-global user variables (PUD)
NOTICE
Visibility of program-local user variables (PUD)
Program-local user variables (PUD) defined in the main program will only be visible in
subprograms if the following machine data is set:
MD11120 $MN_LUD_EXTENDED_SCOPE = 1
If MD11120 = 0 the program-local user variables defined in the main program will only be
visible in the main program.
Cross-channel use of an NCK-global user variable of the AXIS data type
An NCK-global user variable of the
block with an axis identifier can then only be used in other NC channels if the axis has the
same channel axis number in these channels.
If this is not the case, the variable has to be loaded at the start of the part program or, as in
the following example, the AXNAME(...) function (see "") has to be used.
Program code
DEF NCK STRING[5] ACHSE="X"
N100 AX[AXNAME(ACHSE)]=111 G00
See also
General information about variables (Page 15)
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
data type initialized during definition in the data
AXIS
Comment
;
Definition in the data block
;
Use in the part program
Flexible NC programming
1.1 Variables
29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents