G49: Tool length compensation cancel
What G49 does
G49 turns tool length compensation off, so Z positions refer to the spindle gauge line again. Many safety lines include it, and on many controls G28 or a tool change also cancels it.
| Type | G-code |
|---|---|
| Machine | Mill |
| Group | Tool length |
| Modal | Yes: stays active until replaced by another code from the same group |
G49 example
G49 No tool length offset active.
| Word | What it means here |
|---|---|
G49 | Tool length compensation cancel |
Codes people confuse with G49
| Code | What it does instead |
|---|---|
G40 | Cutter compensation cancel. Turns off cutter radius (or tool nose) compensation. |
G43 | Tool length compensation +. Applies the tool length offset H so Z positions are measured from the tool tip. |
Other codes in the tool length group
Only one code from a modal group is active at a time. Programming any of these replaces G49.
Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.
Quick check: G49
-
What does
G49do? (Mill) -
Which code: Cancels G43 or G44.(Mill)
-
What does
G40do? (Mill and lathe)
Show the answers
- Cancels G43 or G44.
- G49
- Turns off cutter radius (or tool nose) compensation.
Frequently asked questions
- What does G49 mean in CNC programming?
- Tool length compensation cancel. Cancels G43 or G44.
- Is G49 modal?
- Yes. G49 belongs to the tool length group and stays active until another code from that group is programmed.
- What is the difference between G49 and G40?
- G49 (tool length compensation cancel): cancels G43 or G44. G40 (cutter compensation cancel): turns off cutter radius (or tool nose) compensation.
- What is the difference between G49 and G43?
- G49 (tool length compensation cancel): cancels G43 or G44. G43 (tool length compensation +): applies the tool length offset H so Z positions are measured from the tool tip.
G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.