Indirect transfer – ACU-RITE CNC 3500i User Manual
Page 429

ACU-RITE 3500i
403
1
1
.4 A
d
v
a
nced Pr
ogr
a
mming
Indirect Transfer:
You can indirectly transfer variables to a depth of four levels by
introducing extra hatch marks (#) before the variable number. In an
indirect transfer, a value is transferred to one variable via another.
At Block N204, the X-axis moves to 51.456. Example 1 shows single
indirection. The contents of variable #101 are used by variable #102.
The actual content of variable #102 is constant 101. The indirection
is activated at Block N204 by the addition of the (#) symbol to
variable #102.
Example 1:
N201
G90 G17 G71 G0
N202
#101 = 51.456
N203
#102 = 101
N204
X##102
Example 2:
N210
G90 G17 G71 G0
N211
#101 = 1
N212
#102 = 2
N213
#103 = 3
N214
#104 = 4
N215
#119 = 100
N216
LOOP 4
N217
#119 = #119 + 1
N218
#120 = 119
N219
X###120
N220
END
N221
M2