Printed from Kezuriba (kezuriba.net/en/nc/g71/)
G71
LatheOne-shot, group 00OD/ID rough turning cycle (cuts along Z)
⌨Format and notes
G71 U_ (depth of cut, radius value) R_ (retract amount); G71 P_ Q_ U_ (X finishing allowance, diameter value) W_ (Z finishing allowance) F_ S_ T_
- Two-block format. U in the first line is the depth of cut and U in the second line is the X finishing allowance; the same address has different meanings (distinguished by the presence of P/Q)
- The sign of the finishing allowance U/W depends on the cutting quadrant (OD or ID, direction of Z)
- The profile is basically one where X is monotonic and never reverses direction (Type I). Profiles with recesses can use Type II, only on machines that support it
- After G71, write G70 with the same P/Q to finish
Diagram: How G71 (lathe) cuts
≠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 | Machining center | Format | G71 P_ Q_ D_ (depth of cut) U_ W_ I_ K_ F_ S_ T_ (one-block format)Haas uses a one-block format with D giving the depth of cut. If the P block has both X and Z, it is judged as Type 2 |
| Siemens (ISO dialect) | Machining center | code | In Siemens native mode, G71 = metric input |
📚Sources
The meaning shown agrees in at least two sources (agreement confirmed). 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
- 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