A SERVICE OF

logo

ACU-RITE 3500i 405
11.4 Advanced Programming
Example 2:
N10 O 1000
N20 G0 G17 G70 G90 F80
N30 T0
N40 Z0
N50 X0 Y0 ;* START POSITION OF RECTANGLE
N60 #151 = 3 ;* SET READ ONLY VARIABLE, X LENGTH OF
SIDE
N70 #152 = 3;* SET READ ONLY VARIABLE, Y LENGTH OF
SIDE
N80 #153 = .25 ;* SET READ ONLY VARIABLE, CUT PER
SIDE
N90 #154 = 5 ;* SET READ ONLY VARIABLE, NUMBER OF
PASSES
N100 M98 P1 ;* CALL sub-program BODY
N110 T0
N120 Z0
N130 X0 Y0
N140 M2
N160 O1
N170 G91 G1 X#151 ;* MOVE X AXIS LENGTH OF SIDE
N180 Y#152 ;* MOVE Y AXIS LENGTH OF SIDE
N190 X( #151) ;* MOVE X NEGATIVE
N200 Y( #152) ;* MOVE Y NEGATIVE