CNC lathe · G-code

G72: end face stock removal cycle

G72 is G71 turned 90°: it roughs a profile in passes along X (facing), for parts that are short and wide. Haas lists it as one-shot (group 00). Formats below from Haas, LinuxCNC and Fanuc, each from its maker.

On a Haas mill, G72 is bolt holes along an angle.

Worked example

Face down a 2" flange to a 1" hub (Haas). Written for this page in the Haas format.

G00 X2.1 Z0.1G72 P100 Q200 U0.02 W0.01 D0.05 F0.01N100 G00 Z-0.5G01 X1.0 F0.005N200 Z0G70 P100 Q200

How each control writes it

Haas G72 P- Q- U- W- D- F- (one block)

One source: Haas Automation, the control's maker

P
Block number where the profile starts
Q
Block number where it ends
U
Finish allowance in X, diameter (optional)
W
Finish allowance in Z (optional)
D
Depth of cut per pass (one-block notation)
I
Rough pass allowance in X (optional)
K
Rough pass allowance in Z (optional)
F
Feedrate (optional)
S
Spindle speed (optional)
T
Tool and offset (optional)
  • A two-block form also exists: G72 W- R- (depth and retract per pass) then G72 P- Q- U- W- F-.

Source: Haas Automation, lathe G72

LinuxCNC G72 Q- X- Z- D- I- R-

One source: the LinuxCNC project, the control's maker

Q
Subroutine number holding the profile
X
Start X (optional)
Z
Start Z (optional)
D
Distance left to the profile (optional)
I
Cutting increment (optional)
R
Retract distance (optional)
  • X must change monotonically.

Source: LinuxCNC documentation, "G71 G72 Lathe roughing cycles" (archived Oct 29, 2026)

Fanuc G72 W(Δd) R(e) ; G72 P(ns) Q(nf) U(Δu) W(Δw) F_ S_ T_ ; (two blocks)

One source: FANUC, the control's maker

W (first block)
Depth of each cut
R (first block)
Pull-off after each cut
P
First block of the finished shape
Q
Last block of the finished shape
U (second block)
Finish allowance in X (optional)
W (second block)
Finish allowance in Z (optional)
F, S, T
Used for the roughing in place of any in the shape blocks (optional)
  • FANUC 0i-TF (lathe), G code system A (U and W are incremental), from its operator’s manual. On another FANUC model or G code system, check that control’s manual.
  • Two blocks, where Haas takes one (G72 P Q U W D F).

Source: FANUC B-64604EN-1/01, Operator's Manual, 0i-TF (lathe), §4.2.2

How the controls differ

  • Only Haas takes K, U, W.
  • Only LinuxCNC takes R, X, Z.
  • Only Fanuc takes R (first block), U (second block), W (first block), W (second block).
  • A word two controls share can still mean different things: read each control's list above.

Haas follows Fanuc's numbering, but options and parameters differ between controls: check your control's manual.