G76

Machining center, LatheModal, group 09

Fine boring cycle

⌨On machining centers

G76 X_ Y_ Z_ R_ Q_ (shift amount) P_ (dwell) F_ K_

Diagram: G76 motion (side view)

RapidCutting feedQInitial pointR pointHole bottom Z① Rapid to R point② Feed to hole bottom③ Orient spindle stop④ Shift away from thecutting edge by Q⑤ Rapid out⑥ Shift back, spin spindle
At the hole bottom the spindle is stopped at an oriented position and shifted away from the cutting edge by Q before rapid retraction, so no return scratch is left on the bore. Shift direction is set by a machine setting. Figure shows G98.

◎On lathes: Multiple thread cutting cycle (compound thread cutting cycle)

The same number means something different on lathes (FANUC-type G-code system A). Group 00.

G76 P_ (m: finishing passes, r: chamfer amount, a: tool nose angle, 2 digits each) Q_ (minimum depth of cut) R_ (finishing allowance);
G76 X(U)_ Z(W)_ R_ (taper amount) P_ (thread height) Q_ (first depth of cut) F_ (lead)

Diagram (lathe): G76 (lathe), multiple threading cycle

Each passInfeed method (enlarged)Threaded sectionAEEnds with an angled pull-out1234Finish (d)ΔdkDepth of pass n = Δd × √n
Infeeds along one flank of the thread (flank infeed). The depth of pass n is Δd × √n, so the infeed shrinks and each pass removes about the same amount; the finishing allowance d is cut last. k is the thread height.

≠Differences between controls and machines

The same code can be written or assigned differently depending on the CNC control and the machine builder. Always check your machine’s manual.

SourceMachineItemDetail
HaasMachining centerFormatI/J can be used instead of Q to specify the shift direction and amountHaas warns that if it is commanded while the spindle is stopped (M05), it becomes a cycle without spindle rotation
HaasLatheFormatG76 X(U)_ Z(W)_ K_ (thread height) D_ (first depth of cut) A_ (tool nose angle) I_ (taper) F_ P_ Q_ (one-block format)Haas uses the one-block format, and A has no decimal point. The finishing allowance is Setting 86, and chamfering is Setting 95/96 and M23/M24

📚Sources

The meaning shown agrees in at least two sources (agreement confirmed). Explanations are written in our own words.

  1. Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Milling, 04.2007 Edition (6FC5398-7BP10-0BA0) cache.industry.siemens.com
  2. Haas Automation, Inc. — G-code, M-code, and Setting (per-code explanation pages) haascnc.com
  3. Haas Automation, Inc. — Mill Operator's Manual – 17 Mill G-Codes (online version) haascnc.com
  4. Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Turning, 04.2007 Edition cache.industry.siemens.com
  5. Haas Automation, Inc. — Lathe Operator's Manual – 16 Lathe G-Codes (online version) haascnc.com