Home › G-codes › Mazak (EIA) › G99
G99 Canned cycle return to R plane / Feed per revolution, lathe
Mazak (EIA) G-code · Mill, Lathe
On mills: Canned cycle return to R plane
After each hole the tool returns only to the R plane. Faster when there is nothing to clear between holes.
Format
G99
Addresses
| Address | What it does |
|---|---|
G99 | No addresses |
How it works
Modal. Works with drilling cycles.
Example program
G43 H01 Z1. (INITIAL Z)
G99 G81 X1. Y1. Z-.5 R.1 F10. (RETURN TO R .1)
X2. (NEXT HOLE)
G80 G00 Z1. (CANCEL, RETRACT)
G99 G81 X1. Y1. Z-.5 R.1 F10. (RETURN TO R .1)
X2. (NEXT HOLE)
G80 G00 Z1. (CANCEL, RETRACT)
Example is in inch. Check offsets and clearances first.
Watch out for
- On a Mazak lathe G99 is feed per revolution instead.
- Check for clamps between holes before using G99.
On lathes: Feed per revolution, lathe
On a Mazak lathe G99 sets F to inches per revolution. Normal mode for turning.
Format
G99
Addresses
| Address | What it does |
|---|---|
G99 | No addresses |
How it works
Modal until G98. Usually the power on state.
Example program
G20 G40 G99 (INCH, COMP OFF, FEED PER REV)
T0101 (OD TURNING TOOL)
G01 Z-1. F.008 (.008 PER REV)
T0101 (OD TURNING TOOL)
G01 Z-1. F.008 (.008 PER REV)
Example is in inch. Check offsets and clearances first.
Watch out for
- On the mill G99 is a cycle return code.
Related codes
G99 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Canned cycle return to R level |
| Haas NGC | Canned cycle R plane return |
| Mitsubishi M70 M80 | Canned cycle return to R plane |
| Brother Speedio | Canned cycle return to R plane |
| Heidenhain TNC (ISO) | Tool definition in the program |
| Fagor 8055 8065 | Return to reference plane |
| LinuxCNC Tormach | Cycle retract to R plane |
| Mach3 Mach4 | Cycle return to R plane |
| Centroid CNC12 Acorn | Canned cycle return to R plane |
| Hurco WinMax (NC) | Cycle return to R plane |
| Fadal | Fixed cycle return to R0 plane |
| Swiss (Citizen Star) | Feed per revolution |
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 G99 in the app All Mazak G-codes