Siemens sinumerik 840d Programming Manual page 37

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

Advertisement

04.00
1
840D
840D
NCU 571
NCU 572
NCU 573
Array element
DEF INT ARRAY1[4,5]
DEFINE DIM1 AS 4
DEFINE DIM2 AS 5
DEF INT ARRAY[DIM1,DIM2]
ARRAY[DIM1-1,DIM2-1]=5
Axis instruction with axis variables
X1=100 X2=200
DEF AXIS AXVAR1 AXVAR2
AXVAR1=(X1) AXVAR2=(X2)
AX[AXVAR1]=100 AX[AXVAR2]=200
Interpolation parameters with axis variables
G2 X100 I20
DEF AXIS AXVAR1=X
G2 X100 IP[AXVAR1]=20
Indirect subprogram call
CALL "L" << R10
Additional notes
R parameters can also be interpreted as single-
dimensional arrays with abbreviated notation (R10
corresponds to R[10]).
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
FM-NC
810D
840Di
Flexible NC Programming
1.4
Indirect programming
Direct programming
Indirect programming:
Field sizes must always be specified as fixed
values in array dimensions.
Direct programming
Indirect programming:
Define variables
Assign axis names Traverse axes stored in
the variables to 100 and 200.
Direct programming
Indirect programming:
Define and assign axis name
Indirect programming of center point
Call the program with the number contained
in R10
1
1-37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents