Acu-Rite CNC 3500i User Manual

Page of 472
426
11 G-Code Edit, Help, & Advanced Features
1
1
.4 A
d
v
a
nced Pr
ogr
a
mming
INEQUALITY OPERATORS
NOT
N760 WHILE (#135 != #137) DO 10
N770 ------------
-- --
-- --
N790 END 10
The exclamation mark (!) symbolizes NOT. Therefore, Block N760 
instructs the 3500i to continue the loop to N790 while the contents of 
variables #135 and #137 are not equal (condition true). When the 
contents of the variables become equal the expression is false and the 
loop terminates. 
GREATER THAN
N800 IF (#122 > #134) GOTO 830
N810 ------------
The symbol (>) symbolizes GREATER THAN. Therefore, Block N800 
instructs the control to go to (GOTO) or jump to Block N830 if the 
contents of variable #122 are greater than the contents of variable 
#134 (condition true). If the expression is false, execution continues to 
Block N810. 
LESS THAN
N840 IF (#123 < #135) GOTO 880
N850 ------------
The symbol (<) symbolizes LESS THAN. The function is the opposite 
of GREATER THAN and the expression is true when the contents of 
variable #123 are less than the contents of variable #135. 
Greater than (>) and less than (<) expressions become 
false if the contents of the compared variables are equal.