Home › G-codes › Swiss (Citizen Star) › G71
G71 Rough turning cycle
Swiss (Citizen Star) G-code · Lathe
Rough turns a profile in Z steps from the P and Q blocks.
Format
G71 U R | G71 P Q U W F
Addresses
| Address | What it does |
|---|---|
U first | Depth per side per pass |
R | Retract amount |
P Q | Profile first and last block |
U W second | Finish stock in X and Z |
F | Rough feed |
How it works
One shot.
Example program
G00 X.55 Z-.02 T0100 (TOOL 1)
G71 U.02 R.01
G71 P10 Q20 U.005 W.001 F.003 (ROUGH)
N10 G00 X.25
…
G71 U.02 R.01
G71 P10 Q20 U.005 W.001 F.003 (ROUGH)
N10 G00 X.25
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- On a Swiss the cycle moves the headstock back and forth. Long passes pull the part far out of the bushing, so keep the profile short.
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 |
| 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 |
Every G-code for Swiss (Citizen Star) 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 Swiss G-codes