EasyManua.ls Logo

Siemens SINUMERIK 828D

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

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals