Home › G-codes › Siemens 808D ISO › G71
G71 Stock removal cycle along Z (OD and ID rough)
Siemens 808D ISO G-code · Lathe
Roughs the contour between blocks P and Q with cuts parallel to Z, leaving finish stock. Two blocks: depth and retract first, then contour and allowances.
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 |
P | First contour block number |
Q | Last contour block number |
U (second block) | X finish stock, minus for ID work |
W (second block) | Z finish stock |
F S T | Roughing feed, speed and tool |
How it works
Non-modal, G group 18. U and R of the first block stay set until changed.
Example program
T0101 (OD ROUGH TOOL)
G99 G97 S550 M03 (FEED PER REV, CONSTANT RPM)
G00 X142.0 Z171.0 M08 (CYCLE START POINT)
G71 U4.0 R1.0 (4 MM DEPTH, 1 MM RETRACT)
…
G99 G97 S550 M03 (FEED PER REV, CONSTANT RPM)
G00 X142.0 Z171.0 M08 (CYCLE START POINT)
G71 U4.0 R1.0 (4 MM DEPTH, 1 MM RETRACT)
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Type I: the first contour block moves X only. Type II (pockets): put X and Z in the first block, or W0 if Z does not move.
- USER DATA _ZSFI[36] = 1 (default) roughs with no final contour cut; 0 adds one. _ZSFI[30] and [31] hold default depth and retract.
- G70 to G73 are not allowed in MDA mode (alarm 14011). No M98 or M99 inside the P to Q blocks.
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 |
| 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 |
| Siemens 808D | 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 Siemens 808D ISO 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 Siemens 808D ISO G-codes