GHaas G-Code Field Guide Get the book

Haas Mill · G-code

G83 Normal Peck Drilling Cycle

Pecks by Q and retracts to the R plane every peck to clear chips. The go-to cycle for deep holes.

Updated · by Ethan Reynolds

What G83 does on a Haas mill

G83 drills Q deep, rapids out to the R plane to clear chips, rapids back down to just above the previous depth, and feeds another Q. It repeats until Z is reached.

Instead of a fixed Q you can use I (first peck), J (amount to reduce each peck) and K (minimum peck), so pecks get shorter as the hole gets deeper and chip packing gets worse. P adds a dwell at the bottom of the final peck.

G83 format

AddressMeaning
X YHole position
ZBottom of hole
RR plane
QPeck depth (incremental)
I J KOptional: first peck, reduction, minimum peck
PDwell at final depth
FFeed rate

G83 example program

G83 G99 X1. Y1. Z-1. Q0.2 R0.1 F8.
X2.
G80 G00 Z1.

⚠ Watch out

A Q that is too large on a small drill packs chips and breaks the drill. In tough material, start with a peck of about one drill diameter or less.

Related codes

G83 questions

What does Q mean in G83?

Q is the incremental depth of each peck.

How deep should each peck be?

Roughly one drill diameter is a safe starting point. Reduce it in stringy or tough materials, or use I/J/K for diminishing pecks.

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.