Siemens Sinumerik 840D sl Programming Manual page 57

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Example 2: Indirectly programming an axis
Direct programming:
Program code
FA[U]=300
Indirect programming:
Program code
DEF AXIS AXVAR2=U
FA[AXVAR2]=300
Example 3: Indirectly programming an axis
Direct programming:
Programming
$AA_MM[X]
Indirect programming:
Program code
DEF AXIS AXVAR3=X
$AA_MM[AXVAR3]
Example 4: Indirectly programming an axis
Direct programming:
Program code
X1=100 X2=200
Indirect programming:
Program code
DEF AXIS AXVAR1 AXVAR2
AXVAR1=(X1) AXVAR2=(X2)
AX[AXVAR1]=100 AX[AXVAR2]=200
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Comments
; Feed rate 300 for axis "U".
Comments
; Defining a variable, type AXIS and value assignment.
; Feed rate of 300 for the axis whose address name is saved
in the variables with the name AXVAR2.
Comments
; Read probe measured value (MCS) of axis "X".
Comments
; Defining a variable, type AXIS and value assignment.
; Read probe measured value (MCS) whose name is saved in the
variables AXVAR3.
Comments
; Defining two type AXIS variables.
; Assigning the axis names.
; Traversing the axes whose address names are
saved in the variables with the names AXVAR1
and AXVAR2
Flexible NC programming
1.2 Indirect programming
57

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents