G71 Stock removal in turning, rough cycle
Fanuc G-code · Lathe
Roughs the profile between P and Q with passes along Z, leaving finish stock. It uses two blocks: depth and retract on the first, profile and allowances on the second.
Format
G71 U R then G71 P Q U W F [S T]
Addresses
| Address | What it does |
|---|---|
U (first block) | Depth of cut per pass, radius value |
R (first block) | Retract amount after each pass |
P | First profile block number |
Q | Last profile block number |
U (second block) | X finish stock, diameter value, plus for OD and minus for ID |
W (second block) | Z finish stock |
F | Roughing feed |
How it works
Non-modal.
Example program
T0101 (OD ROUGH TOOL)
G50 S2500 (MAX RPM)
G96 S500 M03 (CSS)
G00 X2.1 Z.1 M08 (CYCLE START POINT)
…
G50 S2500 (MAX RPM)
G96 S500 M03 (CSS)
G00 X2.1 Z.1 M08 (CYCLE START POINT)
…
The full 10-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The first profile block may move only X for type I. Add a Z move there too for type II pockets.
- Use a minus U on the second block for ID work or the bore is cut oversize.
- F in the profile blocks is ignored during roughing. Put the rough feed on the G71 line.
Related codes
G71 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Bolt hole arc |
| Mazak (EIA) | OD and ID roughing cycle, Z direction |
| Okuma OSP | Return level for fixed cycles |
| Mitsubishi M70 M80 | Longitudinal rough cutting cycle |
| Siemens 840D 828D | Metric input for geometry |
| Heidenhain TNC (ISO) | Millimeter units |
| Fagor 8055 8065 | Millimeter programming |
| LinuxCNC Tormach | Lathe roughing cycle, along Z |
| Mach3 Mach4 | Metric units, Mach3 |
| Centroid CNC12 Acorn | Rough turning cycle |
| Hurco WinMax (NC) | Metric input (Basic NC) |
| Fadal | Check for metric setting, older code |
| Swiss (Citizen Star) | Rough turning cycle |
Every G-code for Fanuc in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G71 in the app All Fanuc G-codes