Siemens SINUMERIK 840D sl Programming Manual page 60

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

Advertisement

Flexible NC programming
1.2 Indirect programming
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
Example 5: Indirectly programming an axis
Direct programming:
Program code
G2 X100 I20
Indirect programming:
Program code
DEF AXIS AXVAR1=X
G2 X100 IP[AXVAR1]=20
60
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
Comments
; Defining a variable, type AXIS and value
assignment.
; Indirect programming the center point data for
the axis, whose address name is saved in the
variable with the name AXVAR1.
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents