Home › G-codes › Mazak (EIA) › G71
G71 OD and ID roughing cycle, Z direction
Mazak (EIA) G-code · Lathe
Roughs the profile between P and Q with cuts along Z. The two block format gives depth of cut and retract in the first block and the profile and finish stock in the second.
Format
G71 U R then G71 P Q U W F
Addresses
| Address | What it does |
|---|---|
U first block | Depth of cut per side |
R | Retract amount |
P Q | First and last block of the profile |
U second block | Finish stock in X, on diameter. Negative for ID |
W | Finish stock in Z |
F | Roughing feed |
How it works
Non-modal.
Example program
T0101 (OD ROUGH TOOL)
G50 S2500 (RPM CLAMP)
G96 S600 M03 (600 SFM)
G00 X1.6 Z.1 M08 (START POINT)
…
G50 S2500 (RPM CLAMP)
G96 S600 M03 (600 SFM)
G00 X1.6 Z.1 M08 (START POINT)
…
The full 10-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- U means two different things in the two blocks.
- The first profile block must move X only on a Type 1 profile.
- Use a negative U finish stock for ID roughing.
Related codes
G71 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Stock removal in turning, rough cycle |
| Haas NGC | Bolt hole arc |
| 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 Mazak (EIA) 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 Mazak G-codes