Haas Mill G163 5-Axis Normal Peck Drilling Canned Cycle

Haas G Codes Mill Reference

G163 5-Axis Normal Peck Drilling Canned Cycle (Group 09)

E Specifies the distance from the start position to the bottom of the hole
F Feedrate in inches (mm) per minute
I Optional size of first cutting depth
J Optional amount to reduce cutting depth each pass
K Optional minimum depth of cut
P Optional pause at end of last peck, in seconds
Q The cut-in value, always incremental
A A-axis tool starting position
B B-axis tool starting position
X X-axis tool starting position
Y Y-axis tool starting position
Z Z-axis tool starting position

A specific X, Y, Z, A, B position must be programmed before the canned cycle is commanded. If I, J, and K are specified the first pass will cut in by amount I, each succeeding cut will be reduced by amount J, and the minimum cutting depth is K. A P value is used the tool will pause at the bottom of the hole after the last peck for that amount of time. The following example will peck several times and dwell for one and a half seconds at the end: G163 E0.62 F15. Q0.175 P1.5. Note that the same dwell time applies to all subsequent blocks that do not specify a dwell time.
Setting 52 also changes the way G163 works when it returns to the start position. Usually the R plane is set well above the cut to ensure that the peck motion allows the chips to get out of the hole. This wastes time as the drill starts by drilling “empty” space. If Setting 52 is set to the distance required to clear chips, the start position can be put much closer to the part being drilled. When the chip-clearing move to the start position occurs, the Z axis will be moved above the start position by the amount given in this setting.


T5 M6
G01 G54 G90 X8.4221 Y-8.4221 B23. A21.342 S2200 M3 F360. (Clearance Position)
G143 H5 Z14.6228 M8
G1 X6.6934 Y-6.6934 Z10.5503 F360. (Initial Start position)
G163 E1.0 Q.15 F12. (Canned Cycle)
X8.4221 Y-8.4221 B23. A21.342 Z14.6228 (Clearance Position)
G1 G28 G91 Z0.
G91 G28 B0. A0.

G163 5-Axis Normal Peck Drilling Canned Cycle