G-code reference

G72: Rough facing cycle

G72 is rough facing cycle. Like G71, but the passes run along X, for faces. It is non-modal, so it acts only on the line it is written on.

What G72 does

G72 roughs a profile with passes parallel to the X axis, which suits wide faces and short, large-diameter parts.

TypeG-code
MachineLathe (G-code system A)
GroupLathe cycle
ModalNo: acts only on its own line

G72 example

G72 W2. R0.5
G72 P100 Q200 U0.4 W0.1 F0.25

Facing passes 2 mm deep in Z.

WordWhat it means here
G72Rough facing cycle
W2.incremental Z on a lathe, or a Z finishing allowance inside a cycle
R0.5arc radius, or the R plane (retract height) in a drilling cycle, or a cycle setting
P100a parameter: dwell time, program number, sequence number or cycle setting, depending on the code
Q200peck depth or another cycle setting
U0.4incremental X on a lathe, or an X finishing allowance inside a cycle
W0.1incremental Z on a lathe, or a Z finishing allowance inside a cycle
F0.25feed rate (on threading codes, the lead)

Codes people confuse with G72

CodeWhat it does instead
G71 Rough turning cycle. Roughs a profile along Z in repeated passes, leaving finishing stock.

Other codes in the lathe cycle group

These also act only on their own line.

  • G70 Finishing cycle
  • G71 Rough turning cycle
  • G73 Pattern repeating cycle (lathe)
  • G74 Face peck drilling / grooving (lathe)
  • G75 Grooving cycle (X)
  • G76 Threading cycle (multi-pass)
  • G90 Outside/inside diameter cutting cycle (lathe)
  • G92 Thread cutting cycle (lathe)
  • G94 Facing cycle (lathe)

Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.

Quick check: G72

  1. What does G72 do? (Lathe)

  2. Which code: Like G71, but the passes run along X, for faces.(Lathe)

  3. What does G71 do? (Lathe)

Show the answers
  1. Like G71, but the passes run along X, for faces.
  2. G72
  3. Roughs a profile along Z in repeated passes, leaving finishing stock.

Drill this code with the rest of the core set

More practice hubs

Frequently asked questions

What does G72 mean in CNC programming?
Rough facing cycle. Like G71, but the passes run along X, for faces.
Is G72 modal?
No. G72 acts only on the line where it is written; the next line goes back to whatever modal codes were already active.
What is the difference between G72 and G71?
G72 (rough facing cycle): like G71, but the passes run along X, for faces. G71 (rough turning cycle): roughs a profile along Z in repeated passes, leaving finishing stock.

G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.

Free preview · no card Try G-Code Sprint