Home › G-codes › Mach3 Mach4 › G49
G49 Tool length offset cancel
Mach3 Mach4 G-code · Mill
Cancels the tool length offset. With no axis word in the block there is no motion.
Format
G49
Addresses
| Address | What it does |
|---|---|
G49 | No address words |
How it works
Modal, length offset group. Default.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
G43 H1 Z1.0 (LENGTH OFFSET ON)
G0 Z1.0 (RETRACT)
…
T1 M6 (TOOL CHANGE)
G43 H1 Z1.0 (LENGTH OFFSET ON)
G0 Z1.0 (RETRACT)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Z then shows the spindle gauge line. Retract with G53 Z0 rather than a work Z after G49.
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 |
| LinuxCNC Tormach | 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 Mach3 Mach4 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 Mach3 Mach4 G-codes