GHaas G-Code Field Guide Get the book

Haas Lathe · G-code

G74 End Face Grooving / Peck Drilling

Pecks along Z. On centre it is a peck drilling cycle; with X and I it cuts face grooves.

Updated · by Ethan Reynolds

What G74 does on a Haas lathe

G74 feeds in Z by K, retracts slightly to break the chip, and continues to the Z depth. With no X movement it peck-drills on centre.

Add an X end point and an I step and it cuts a series of face grooves, stepping across in X between plunges.

G74 format

AddressMeaning
XFinal X (for face grooves)
ZDepth
IX step between plunges
KZ peck amount
FFeed

G74 example program

G00 X0. Z0.1
G74 Z-1. K0.1 F0.005 (peck drill on centre)

⚠ Watch out

On a face groove the tool width must be accounted for in X. Programming the groove centre instead of the tool reference edge cuts the groove too wide or in the wrong place.

Related codes

G74 questions

Can G74 be used for drilling on a Haas lathe?

Yes. With no X movement, G74 is a simple chip-breaking peck drill on centre.

Independent reference. Not affiliated with, sponsored by or endorsed by Haas Automation, Inc. Haas is a trademark of its respective owner. Always confirm codes against your machine's operator manual — options and settings vary by model and software version.