Home › G-codes › LinuxCNC Tormach › G49
G49 Tool length offset cancel
LinuxCNC Tormach G-code · Mill and lathe
Cancels all tool length offsets, including G43.1 and G43.2 values.
Format
G49
Addresses
| Address | What it does |
|---|---|
none | No words |
How it works
Modal, tool length group. Default at power up.
Example program
G20 G90 (INCH, ABSOLUTE)
G0 Z2 (RETRACT FIRST)
G49 (LENGTH OFFSET OFF)
G53 G0 Z0 (MACHINE Z HOME HEIGHT)
…
G0 Z2 (RETRACT FIRST)
G49 (LENGTH OFFSET OFF)
G53 G0 Z0 (MACHINE Z HOME HEIGHT)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- After G49 the Z position reads without any tool length. Retract before canceling.
- Safe to program even when no offset is active.
Related codes
G49 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Tool length compensation cancel |
| Haas NGC | Tool length compensation cancel |
| Mazak (EIA) | Tool length offset cancel |
| Mitsubishi M70 M80 | Tool length comp cancel |
| Brother Speedio | Tool length offset cancel |
| Mach3 Mach4 | Tool length offset cancel |
| Centroid CNC12 Acorn | Tool length compensation cancel |
| Hurco WinMax (NC) | Tool length offset cancel |
| Fadal | Tool length offset cancel |
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 G49 in the app All LinuxCNC Tormach G-codes