G00 Rapid positioning
Fanuc G-code · Mill, Lathe
On mills: Rapid positioning
Moves the axes at rapid traverse to the commanded point. Used for moves in air only, never for cutting. Speed is set by parameter and the rapid override, not by F.
Format
Addresses
| Address | What it does |
|---|---|
X Y Z | End point, absolute in G90 or distance in G91 |
How it works
Modal, group 01. Stays active until G01, G02, G03 or a canned cycle is commanded.
Example program
G43 H01 Z1. M08 (RAPID TO 1 INCH ABOVE PART)
Z.1 (RAPID TO CLEARANCE)
G01 Z-.25 F10. (FEED INTO PART)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The axes may not move in a straight line. Depending on a parameter each axis can run at full rapid, giving a dog leg path. Clear clamps and fixtures on both legs.
- Bring Z down to a safe height first and move X Y after, or the reverse when leaving the part.
- F is ignored in G00 but is remembered for the next G01.
On lathes: Rapid positioning
Moves the tool at rapid traverse to the commanded point. X is a diameter value. Use it for approach and retract moves only, never for cutting.
Format
Addresses
| Address | What it does |
|---|---|
X Z | Absolute end point, X as a diameter |
U W | Incremental move, U as a diameter change |
How it works
Modal, group 01. Stays active until G01, G02, G03 or a cycle code.
Example program
G97 S1000 M03 (SPINDLE ON)
G00 X2.1 Z.1 M08 (RAPID TO START, COOLANT ON)
G01 Z-1. F.008 (TURN)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Axes may not move in a straight line. By default each axis runs at its own rapid rate, so the path can dog-leg.
- Clear the part in X first before moving Z toward the chuck.
- Rapid override on the panel affects G00.
Related codes
G00 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Rapid motion positioning |
| Mazak (EIA) | Rapid positioning |
| Okuma OSP | Rapid positioning |
| Mitsubishi M70 M80 | Rapid positioning |
| Brother Speedio | Rapid positioning |
| Siemens 840D 828D | Rapid traverse positioning |
| Heidenhain TNC (ISO) | Rapid straight line, Cartesian |
| Fagor 8055 8065 | Rapid traverse |
| LinuxCNC Tormach | Rapid move |
| Mach3 Mach4 | Rapid move |
| Centroid CNC12 Acorn | Rapid positioning |
| Hurco WinMax (NC) | Rapid positioning |
| Fadal | Rapid travel |
| Swiss (Citizen Star) | Rapid positioning |
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 G00 in the app All Fanuc G-codes