G49 Tool length offset cancel
Fadal G-code · Mill
Turns off the tool length offset. Z works from the fixture offset only.
Format
G49
How it works
Modal, length group. Default.
Example program
N20 G80 G0 Z1. M9
N21 G49 G91 G28 Z0. M5 (LENGTH OFF, Z HOME)
N22 G90
N23 M30
N21 G49 G91 G28 Z0. M5 (LENGTH OFF, Z HOME)
N22 G90
N23 M30
Example is in inch. Check offsets and clearances first.
Watch out for
- Put G49 in the Format 2 safe start line.
- The next Z move after G49 shifts by the tool length. Do it with Z up high.
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 |
| Mach3 Mach4 | Tool length offset cancel |
| Centroid CNC12 Acorn | Tool length compensation cancel |
| Hurco WinMax (NC) | Tool length offset cancel |
Every G-code for Fadal 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 Fadal G-codes