EasyManua.ls Logo

Siemens SINUMERIK 840D

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

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Related product manuals