G5 Non modal rapid travel
Fadal G-code · Mill
Rapids for one block only. The motion mode in effect before it, such as G1, comes back on the next block.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G5 [X] [Y] [Z]
Addresses
| Address | What it does |
|---|---|
X Y Z | End point of the rapid |
How it works
Non modal.
Example program
N1 G0 G40 G49 G80 G90 G17 (FORMAT 2 SAFE START)
N2 T1 M6 (1-2 END MILL)
N3 G0 G90 G54 X0. Y0. S3000 M3
N4 G43 H1 Z.1 M8
…
N2 T1 M6 (1-2 END MILL)
N3 G0 G90 G54 X0. Y0. S3000 M3
N4 G43 H1 Z.1 M8
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Handy for a quick lift between feed moves without restating G1.
- This is Fadal only. Fanuc and Haas controls do not use G5 this way, so other posts will not output it.
Related codes
G5 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Mazak (EIA) | High speed machining mode |
| Mitsubishi M70 M80 | High speed high accuracy control II and III |
| Heidenhain TNC (ISO) | Arc without direction, Cartesian |
| Fagor 8055 8065 | Round corner |
| LinuxCNC Tormach | Cubic spline |
Every G-code for Fadal 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 G5 in the app All Fadal G-codes