Example
O01001 (G150 Pocket example)
T1 M06 (T1 Drills clearance hole for endmill)
G90 G54 G00 X3.25 Y4.5 S1200
M03
(Pocket start point)
G43 H01 Z1.0 M08 (Tool length offset, rapid to Z start point, cool-
ant on)
G83 Z-1.5 Q0.25 R0.1 F20. (Peck drill cycle)
G53 G49 Z0 (Returns Z to home position)
T2 M06 (.5” Endmill) (T2 Cuts pocket in two passes to Z depth)
G54 G90 G00 X3.25 Y4.5 S1450
M03
(Pocket start point)
G43 H02 Z1.0 M08 (Tool length offset, rapid to Z start point, cool-
ant on)
G150 X3.25 Y4.5 Z-1.5 G41 J0.35
K.01 Q0.8 R.1 P2001 D02 F15.
(0.01” nish pass (K) on sides)
G40 X3.25 Y4.5 (Cancel cutter comp. and position back to start
point)
G53 G49 Y0 Z0 (Returns Z to home position)
M30 (End of main program)
O02001 (Separate program as a subprogram for G150
pocket geometry)
G01 Y7 (The rst move onto pocket geometry with a
G01)
X1.5 (The following lines dene pocket geometry)
G03 Y5.25 R0.875
G01 Y2.25