1 5 6
G Codes
96-8000 rev R June 2007
Z
X
Y
G150
General Pocket Milling
G150
General Pocket Milling
I
J
Q
Z (Final Depth)
Start Point
Start Point
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 a Z
start point, turn coolant 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 a Z
start point, turn coolant on)
G150 X3.25 Y4.5 Z-1.5 G41 J0.35 K.01 Q0.8 R.1 P2001 D02 F15. (K does a 0.01" finish pass on sides)
G40 X3.25 Y4.5
(Cancel cutter comp. and position back to start point of pocket)
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 first move onto pocket geometry with a G01 move)
X1.5
(The following lines define pocket geometry)
G03 Y5.25 R0.875
G01 Y2.25
G03 Y0.5 R0.875
G01 X5.
G03 Y2.25 R0.875
G01 Y5.25
G03 Y7. R0.875
G01 X3.25
(Close pocket geometry loop. Do not position back to start hole.)
M99
(Return to Main Program)
Summary of Contents for Mill
Page 12: ...96 8000 rev R June 2007 Safety 5 ...
Page 14: ...96 8000 rev R June 2007 Safety 7 LATHE WARNING DECALS ...
Page 15: ...8 Safety 96 8000 rev R June 2007 ...
Page 17: ...10 Introduction 96 8000 rev R June 2007 ...
Page 117: ...110 4 5 Axis Programming 96 8000 rev R June 2007 ...
Page 199: ...Settings 192 96 8000 rev R June 2007 ...