Siemens SINUMERIK 840D sl Programming Manual page 434

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Work preparation
3.1 Flexible NC programming
Examples
Example 1: Indirectly programming a spindle number
Direct programming:
Program code
S1=300
Indirect programming:
Program code
DEF INT SPINU=1
S[SPINU]=300
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:
Program code
$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
434
Comment
; Speed 300 rpm for the spindle number 1.
Comment
; Defining variables, type INT and value assignment.
; Speed 300 rpm for the spindle, whose number is saved in
the SPINU variable (in this example 1, the spindle with the
number 1).
Comment
; Feedrate 300 for axis "U".
Comment
; Defining a variable, type AXIS and value assignment.
; Feedrate of 300 for the axis whose address name is saved
in the variables with the name AXVAR2.
Comment
; Read probe measured value (MCS) of axis "X".
Comment
; Defining a variable, type AXIS and value assignment.
; Read probe measured value (MCS) whose name is saved in
the variables AXVAR3.
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents