Home › G-codes › Heidenhain TNC (ISO) › G00
G00 Rapid straight line, Cartesian
Heidenhain TNC (ISO) G-code · Mill
Moves the tool in a straight line at rapid traverse to the X Y Z target. Use it for positioning clear of the part. Klartext: L X Y Z R0 FMAX.
Format
G00 [G40 G41 G42] [G90 G91] X Y Z [M]
Addresses
| Address | What it does |
|---|---|
X Y Z | Target point |
G40 G41 G42 | Radius compensation for the move |
M | Miscellaneous function |
How it works
Modal path function. Stays active until G01, G02, G03 or another path function. In Klartext FMAX acts only in its own block.
Example program
%RAPID G71 *
N10 G30 G17 X+0 Y+0 Z-20 *
N20 G31 G90 X+100 Y+100 Z+0 *
N30 T1 G17 S4000 *
…
N10 G30 G17 X+0 Y+0 Z-20 *
N20 G31 G90 X+100 Y+100 Z+0 *
N30 T1 G17 S4000 *
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Retract in the tool axis first, then move X and Y, so the tool clears clamps.
- Program G40 in the retract block when you leave a compensated contour.
Related codes
G00 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Rapid positioning |
| 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 |
| 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 Heidenhain TNC (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 G00 in the app All Heidenhain TNC G-codes