Home › G-codes › Haas NGC › G91
G91 Incremental positioning
Haas NGC G-code · Mill
Axis positions are read as distances from the current position.
Format
G91
How it works
Modal, group 03. Cancel with G90.
Example program
G91 G28 Z0. (Z HOME, INCREMENTAL)
G90 (BACK TO ABSOLUTE)
G91 G01 X.5 F10. (MOVE .5 TO THE RIGHT)
G90 (BACK TO ABSOLUTE)
G90 (BACK TO ABSOLUTE)
G91 G01 X.5 F10. (MOVE .5 TO THE RIGHT)
G90 (BACK TO ABSOLUTE)
Example is in inch. Check offsets and clearances first.
Watch out for
- Always switch back to G90 right after incremental moves.
- Canned cycle Z in G91 is measured from the R plane.
Related codes
G91 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Incremental programming |
| 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 |
| LinuxCNC Tormach | Incremental distance mode |
| Mach3 Mach4 | Incremental mode |
| Centroid CNC12 Acorn | Incremental positioning |
| Hurco WinMax (NC) | Incremental mode |
| Fadal | Incremental positioning |
Every G-code for Haas NGC 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 Haas NGC G-codes