CNC mill · G-code
G90 / G91: absolute and incremental positioning
In G90 every axis value is a position in the work coordinate system; in G91 it is a distance from where the tool is now. Haas lists it in modal group 03. Formats below from Haas and LinuxCNC, each from its maker.
On a Haas lathe, G90 is the O.D./I.D. turning cycle; lathes use X/Z for absolute and U/W for incremental.
Worked example
The same 1" move both ways, from X1.. Written for this page in the Haas format.
G90 G01 X2. F10. (to X2.)G91 G01 X1. (another 1 in: now at X3.)G90How each control writes it
Haas G90 / G91
One source: Haas Automation, the control's maker
- G91 is not compatible with G143 (5-axis tool length compensation).
Source: Haas Automation, mill G90
LinuxCNC G90 / G91
One source: the LinuxCNC project, the control's maker
- Exceptions for canned cycles are described under G80–G89 (R and L behave differently in G91).
Source: LinuxCNC documentation, "G90, G91 Distance Mode" (archived Oct 29, 2026)
No Fanuc row yet: that chapter of the 0i manual has not been read.
Haas follows Fanuc's numbering, but options and parameters differ between controls: check your control's manual.