3 G/M Codes
3 - 55
Fig. 3-42
Example 2 : (with tool feed in the X direction)
G0 X0. Z80. Move tool quickly to the position X0. Z80. is relative to the
work origin.
M03 S2000 Positive rotation of spindle, speed 2000(rpm).
G74 R3. R3. stands for a tool retraction of 3000( m) after each drilling
depth of 10000( m)
G74 X2.Z30.P400 Q10000 R1. F0.5
Grooving canned cycle: “Z30.” Indicates the drilling cycle ends
at absolute coordinate 30. in the Z-direction; “X2.” Indicates
the end coordinates of cycling movements in the X-direction
are: 2.; “P400” indicates a 200 ( m) movement per cycle in the
X-direction; Q10000 indicates 10000( m) per drilling; “R1.”
Indicates tool retraction of 500( m) in the X-direction when the
cutting reaches end position. (Diameter specification)
M05 SO Spindle stops.
M02 Program ends.
10 10
A
30
TOOL
80
X
Z