ACU-RITE 3500i 397
11.4 Advanced Programming
Variable Programming (Parametric Programming)
Variable, or parametric, programming enables you to create macros to
generate geometric shapes that are not already available in a canned
cycle.
Conditional loops, jumps, and GOTO commands can be used to
control program execution.
Block Skip
Any block preceded by a slash (/) code is omitted if the corresponding
block skip 'switch' is set "ON" in the program, previous to the (/) code.
The switch is set on by programming variable #1000 to the value of "1".
A value of "0" sets the switch "OFF".
In this example, the hole at N15 is skipped. If N11 read:
N11#1000 = 0
Then N15 would be executed.
The (/) slash code can be placed anywhere in the block, provided it
does not exclude code necessary to complete that operation. It is
recommended the (/) code be used as shown above.
#1000 is reserved for block skip use.
Example: N11 #1000 = 1 *Note: 0=OFF, 1=ON
N12 G81 Z- .5 R.1 F12 P.1
N13 X1 Y1
N14 X2
/N15 X3
N16 X5
N17 G80