G00: Rapid positioning
What G00 does
G00 moves the axes to the commanded point as fast as the machine allows. It is for getting into position, never for cutting: no F word applies, and on many machines the axes do not move in a straight line, so the path between points is not guaranteed. Keep the tool clear of the part and fixtures on every G00 move.
| Type | G-code |
|---|---|
| Machine | Mill and lathe |
| Group | Motion |
| Modal | Yes: stays active until replaced by another code from the same group |
G00 example
G00 X50. Y25. Z5. Rapid to X50 Y25, 5 mm above the part.
| Word | What it means here |
|---|---|
G00 | Rapid positioning |
X50. | X axis target (on a lathe, the diameter) |
Y25. | Y axis target |
Z5. | Z axis target or depth |
Codes people confuse with G00
| Code | What it does instead |
|---|---|
G01 | Linear interpolation (feed move). Cuts in a straight line at the programmed feed rate F. |
Memory hook: Zero, like zero cutting: G00 never touches the part.
Other codes in the motion group
Only one code from a modal group is active at a time. Programming any of these replaces G00.
Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.
Quick check: G00
-
What does
G00do? (Mill and lathe) -
Which code: Moves to a point at full rapid speed, not cutting.(Mill and lathe)
-
What does
G01do? (Mill and lathe)
Show the answers
- Moves to a point at full rapid speed, not cutting.
- G00
- Cuts in a straight line at the programmed feed rate F.
Frequently asked questions
- What does G00 mean in CNC programming?
- Rapid positioning. Moves to a point at full rapid speed, not cutting.
- Is G00 modal?
- Yes. G00 belongs to the motion group and stays active until another code from that group is programmed.
- What is the difference between G00 and G01?
- G00 (rapid positioning): moves to a point at full rapid speed, not cutting. G01 (linear interpolation (feed move)): cuts in a straight line at the programmed feed rate F. A way to remember it: zero, like zero cutting: G00 never touches the part.
G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.