G72

LatheOne-shot, group 00

Face rough turning cycle (cuts along X)

Format and notes

G72 W_ (depth of cut) R_ (retract amount);
G72 P_ Q_ U_ W_ F_ S_ T_

Example

T0101 ; (FACE ROUGHING TOOL)
G50 S2000 ; (SPINDLE SPEED LIMIT)
G96 S150 M03 ; (CONSTANT SURFACE SPEED)
G00 X84. Z3. M08 ; (CYCLE START POINT)
G72 W2. R0.5 ; (DEPTH OF CUT 2, RETRACT 0.5)
G72 P10 Q20 U0.4 W0.2 F0.25 ; (ALLOWANCE X0.4 ON DIA, Z0.2)
N10 G00 Z-6. ; (Z ONLY IN THE FIRST BLOCK)
G01 X50. F0.1 ;
X34. Z-2. ;
Z0 ;
N20 X0 ;
G70 P10 Q20 ; (FINISH WITH F0.1)
G00 X150. Z100. M09 ;

An example that cuts a Z-6 step and a taper from it toward the center on the face side of an 80 mm OD round bar (G-code system A, diameter programming, Z0 is the finished end face). Roughing cuts 2 mm per pass in Z and feeds in the X direction. The finishing allowance is 0.4 mm on diameter in X and 0.2 mm in Z, and the same tool finishes with G70 at the end. The values are for illustration and are not recommended values.

Diagram: How G72 (lathe) cuts

ZXΔdFinish allowance (orange dotted)Start pointFinish profile (P–Q)
Same as G71 but in the other direction: cuts with passes in the X direction (toward center) by Δd each. Suited to shapes with more stock on the face side. At the end of each pass it retracts at 45°. Finish with G70.

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
HaasLatheFormatAccepts both the one-block format (D for depth of cut) and the two-block format
Siemens (ISO dialect)LatheCodeIn G-code system C, face roughing is G74. G72 in system C is the finishing cycle (G70 in systems A and B)
Mitsubishi ElectricLatheFormatG72 W_ R_ H_ ; G72 A_ P_ Q_ U_ W_ F_ S_ T_ ;. H0 is for profiles without recesses only; H1 allows recesses. With A, the profile can be called from another program

Frequently asked questions about G72

What is G72 (Face rough turning cycle (cuts along X)) used for and how is it formatted in a CNC program?
G72 commands "Face rough turning cycle (cuts along X)" on Lathe. The standard program format is "G72 W_ (depth of cut) R_ (retract amount); G72 P_ Q_ U_ W_ F_ S_ T_". The same as G71 in a different orientation. Cuts the end face with passes back and forth in X
Is G72 a modal code or a one-shot (non-modal) code?
G72 is a one-shot (non-modal, Group 00) code. It acts only in the single block where it is written and does not carry over to the next block, so you must write G72 on every line where that action is required.
Does G72 work differently on machining centers (mills) versus CNC lathes?
G72 is primarily used on Lathe. Depending on the machine type and the lathe G-code system (System A, B, or C), this code may be unavailable or assigned to a different function, so verify against your machine tool manual.
Are there differences in G72 across FANUC, Mitsubishi, Okuma, Haas, and Siemens controls?
Yes. Control builders such as FANUC, Mitsubishi Electric (M80/M800), Okuma (OSP), Haas, Mazak, Siemens (SINUMERIK ISO dialect), and Heidenhain can differ in argument letters, decimal-point rules, and optional parameters for G72. Review the control comparison table above and verify the exact syntax in your machine’s programming manual before proving out the program.

Sources

The meaning of this code agrees in two or more sources from different publishers. Explanations are written in our own words.

  1. Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Turning, 04.2007 Edition cache.industry.siemens.com
  2. Haas Automation, Inc. — G-code, M-code, and Setting (per-code explanation pages) haascnc.com
  3. Haas Automation, Inc. — Lathe Operator's Manual – 16 Lathe G-Codes (online version) haascnc.com
  4. Mitsubishi Electric — MITSUBISHI CNC 700/70 Series Programming Manual (Lathe System) (IB-1500057) mitsubishielectric.com