Home › G-codes › LinuxCNC Tormach › G91
G91 Incremental distance mode
LinuxCNC Tormach G-code · Mill and lathe
Axis words are distances from the current position.
Format
G91
Addresses
| Address | What it does |
|---|---|
none | No words |
How it works
Modal, distance group.
Example program
G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
T2 M6 G43
S2500 M3
G0 X1 Y1 Z0.5
…
T2 M6 G43
S2500 M3
G0 X1 Y1 Z0.5
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Switch back to G90 right after the incremental moves.
- Canned cycles with L repeats use G91 to step hole to hole.
Related codes
G91 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Incremental programming |
| Haas NGC | Incremental positioning |
| Mazak (EIA) | Incremental programming |
| Okuma OSP | Incremental programming |
| Mitsubishi M70 M80 | Incremental programming |
| Brother Speedio | Incremental programming |
| Siemens 840D 828D | Incremental dimensions |
| Heidenhain TNC (ISO) | Incremental dimensions |
| Fagor 8055 8065 | Incremental programming |
| Mach3 Mach4 | Incremental mode |
| Centroid CNC12 Acorn | Incremental positioning |
| Hurco WinMax (NC) | Incremental mode |
| Fadal | Incremental positioning |
Every G-code for LinuxCNC Tormach 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 G91 in the app All LinuxCNC Tormach G-codes