Unconditional loop repeat – ACU-RITE CNC 3500i User Manual
Page 451
ACU-RITE 3500i
425
1
1
.4 A
d
v
a
nced Pr
ogr
a
mming
In place of an expression, you can use a variable that while not zero is
treated as a true expression. (Zero equals false. Any other value equals
true).
DO - END
N620 DO nnnn
N630 ------------
-- --
-- --
-- --
-- --
N650 IF ( expression ) GOTO 1111
N660 ------------
N670 END nnnn
DO END sets the program into an infinite loop that can only be ended
by programming a GOTO (1111) command to another block. DO and
END must be paired with labels (nnnn). When executed the program
repeats Blocks N630 to N660 until the expression at N650 becomes
true and program execution continues at block (1111).
Unconditional LOOP Repeat
Conditional statements require that a test be strictly true or false in
order for a particular course of action to be taken. Unconditional
statements are acted on without a logical precondition.
LOOP - END
N680 LOOP nnnn
N685 ------------
-- --
-- --
-- --
N695 END