Printed from Kezuriba (kezuriba.net/en/nc/g72/)
G72
LatheOne-shot, group 00Face 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_
- The same as G71 in a different orientation. Cuts the end face with passes back and forth in X
- Finish with G70
- Suited to: shapes with a lot of stock to remove in the radial direction (large diameter and short length such as discs and flanges, or faces with steps). For shafts with more stock along the length, use G71
- The meaning of W differs between the 1st and 2nd lines. W in the 1st line is the depth of cut per pass (Z direction); W in the 2nd line is the finishing allowance in Z. U in the 2nd line is the finishing allowance in X, given as a diameter value on diameter-programming machines (Siemens ISO dialect, Mitsubishi Electric). They are distinguished by whether the line has P and Q
- R in the 1st line is the retract amount after each cut. W and R in the 1st line are modal, and parameters can give them initial values (Siemens ISO dialect, Mitsubishi Electric)
- In the first block of the profile (the P block), move only Z and do not write X (Siemens ISO dialect). The first block of G71 is the opposite (X only), so this is easy to get wrong when copying and editing a G71 program
- Make the profile only increase or only decrease in both X and Z (monotonic). A profile with recesses (pockets) cannot be cut with the normal way of writing. Mitsubishi Electric can select profiles with recesses with H1 in the 1st line
- Roughing feed and spindle speed use F and S in the G72 block (the values in effect at that point if not written); F, S and T inside P–Q are ignored. F and S inside P–Q take effect in the G70 finishing pass (Siemens ISO dialect, Haas)
- Place the start point (the tool position when G72 is commanded) outside the stock OD and in front of the end face. The roughing retract position is determined from this position, and the tool returns here when finished (Haas)
- M98, M99 and one-shot G codes other than G04 cannot be written inside P–Q. Ending the last move of the profile with a chamfer or corner R command causes an alarm (Siemens ISO dialect)
- A common mistake: running a program from another maker's machine as it is. In G-code system C, face roughing is G74 and G72 is the finishing cycle (Siemens ISO dialect). Haas also accepts a single-line format (D is the depth of cut)
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
Full guide with examples: How to write lathe multiple repetitive cycles (G71, G70, G72, G73, G76)
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.
| Source | Machine | Item | Detail |
|---|---|---|---|
| Haas | Lathe | Format | Accepts both the one-block format (D for depth of cut) and the two-block format |
| Siemens (ISO dialect) | Lathe | Code | In G-code system C, face roughing is G74. G72 in system C is the finishing cycle (G70 in systems A and B) |
| Mitsubishi Electric | Lathe | Format | G72 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.
- Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Turning, 04.2007 Edition cache.industry.siemens.com
- Haas Automation, Inc. — G-code, M-code, and Setting (per-code explanation pages) haascnc.com
- Haas Automation, Inc. — Lathe Operator's Manual – 16 Lathe G-Codes (online version) haascnc.com
- Mitsubishi Electric — MITSUBISHI CNC 700/70 Series Programming Manual (Lathe System) (IB-1500057) mitsubishielectric.com