Indirect Programming - Siemens sinumerik 840d Programming Manual

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

Flexible NC Programming
1
1.4

Indirect programming

840D
840D
NCU 571
NCU 572
NCU 573
1.4

Indirect programming

Indirect programming enables programs to be used
universally. The extended address (index) is
substituted by a variable of suitable type.
All addresses can be configured, except for:
• N – block number
• G – G command
• L – subroutine
Indirect programming is not possible for any settable
addresses.
Example: X[1] is not permitted instead of X1.
Programming
ADDRESS[INDEX]
Programming examples
Spindle
S1=300
DEF INT SPINU=1
S[SPINU]=300
Feed
FA[U]=300
DEF AXIS AXVAR2=U
FA[AXVAR2]=300
Measured value
$AA_MM[X]
DEF AXIS AXVAR3=X
$AA_MM[AXVAR3]
1-36
FM-NC
810D
840Di
Direct programming
Indirect programming:
Speed 300 rpm for the spindle whose
number is stored in the variable SPINU (1 in
this example).
Direct programming
Indirect programming:
Feed for positioning axis whose address
name is stored in the variable of type AXIS
with variable name AXVAR2.
Direct programming
Indirect programming:
Measured value in machine coordinates for
axis whose name is stored in the variable
AXVAR3.
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
04.00
1
 Siemens AG 2000. All rights reserved

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents