System information
SECTION FOUR - PREPARATORY FUNCTIONS (G CODES)
Rectangular Pocket Clear Program
N1 G20 G90 (Inch/Absolute)
N2 S1000 M3 D1 G43 H1 (spindle CW-1000 RPM, calls tool #1's offsets)
N3 G00 X0 Y0 (rapids to pocket center)
N4 F20 (X-Y feedrate)
*9 Z feedrate
N5 P150=.75 (corner radius)
N6 P151=4 (X pocket dimension)
N7 P152=2 (Y pocket dimension)
N8 P153=.015 (X-Y finish stock)
N9 P154=.005 (Z finish stock)
N10 P155=.5 (cut width)
N11 G34 G99 G42 G2 R.1 P199=1 Z-.5 V-.3 Q.2 F5
*1 *2 *3 *3 *4 *5 *6 *7 *8 *9
*1 Executes rectangular pocket clear
*2 Returns Z to clearance plane
*3 CW right or "G41 G3" CCW left
*4 Clearance plane
*5 Ramp Z down
*6 Final Z depth
*7 First Z depth (If no V is specified the 1
st
Z depth is the clearance plane
minus the Z increment)
*8 Z increment
If N11 is G42 G2, the cut direction is CW.
If N11 is G41 G3, the cut direction is CCW.
Rectangular finish inside (G35)
The G35 autoroutine is used to remove the finish stock left by the rectangular clear routine, or it
is used to remove some amount of stock around the inside of a rectangle. The G35 autoroutine
works in an identical manner to the G34 autoroutine. It starts at the center. The circle from the
middle of the autoroutine to the edge will always be along the longest side of the pocket.
226










