Home › G-codes › Mazak (EIA) › G49
G49 Tool length offset cancel
Mazak (EIA) G-code · Mill
Cancels G43, G44, G43.4 and G43.5. Put it in the safety line and before reference return at the end.
Format
G49
Addresses
| Address | What it does |
|---|---|
G49 | No addresses |
How it works
Modal, group 08.
Example program
G00 Z1. M09 (RETRACT)
G91 G28 Z0. (Z HOME)
G49 (LENGTH OFFSET CANCEL)
G90 (ABSOLUTE)
G91 G28 Z0. (Z HOME)
G49 (LENGTH OFFSET CANCEL)
G90 (ABSOLUTE)
Example is in inch. Check offsets and clearances first.
Watch out for
- Giving G49 at a low Z with the tool over the part makes Z jump by the tool length. Cancel only when Z is high or with G28.
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 |
| Mitsubishi M70 M80 | Tool length comp cancel |
| Brother Speedio | Tool length offset cancel |
| LinuxCNC Tormach | 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 Mazak (EIA) 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 Mazak G-codes