G90 and G91 set how coordinates are read. In absolute mode every position is measured from part zero; in incremental mode every position is measured from where the tool is right now. Mixing them up is a common cause of crashes.
| Mode | Coordinates measured from | G01 X1.0 means |
|---|---|---|
| G90 | Part zero (work offset) | Go to X = 1.0 |
| G91 | Current tool position | Move +1.0 in X from here |
When to use each
- G90 absolute is the default for most programs and the safest for general positioning.
- G91 incremental shines for repeated patterns and subprograms, where the same relative move repeats.
- Set the mode explicitly at the top of the program and reset it after any incremental block.
G91 X0.5 (step 0.5 further)
Related: work offsets and the G-Code Cheat Sheet.
