G43: Tool length compensation +
What G43 does
G43 adds the length stored in the H offset so the control knows where the tip of this tool is. It is turned on with the first Z move after a tool change, usually with H matching the tool number. A wrong H number, or a missing G43, sends the tool to the wrong height, which is one of the most common crashes.
| Type | G-code |
|---|---|
| Machine | Mill |
| Group | Tool length |
| Modal | Yes: stays active until replaced by another code from the same group |
G43 example
G43 H05 Z50. Turn on length offset 5 and move to Z50 above the part.
| Word | What it means here |
|---|---|
G43 | Tool length compensation + |
H05 | tool length offset number |
Z50. | Z axis target or depth |
Codes people confuse with G43
| Code | What it does instead |
|---|---|
G41 | Cutter compensation left. Offsets the tool to the left of the path, looking in the direction of travel. |
G44 | Tool length compensation −. Subtracts the tool length offset instead of adding it. Rarely used. |
G49 | Tool length compensation cancel. Cancels G43 or G44. |
Memory hook: H for height: G43 always goes with an H.
Other codes in the tool length group
Only one code from a modal group is active at a time. Programming any of these replaces G43.
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: G43
-
What does
G43do? (Mill) -
Which code: Applies the tool length offset H so Z positions are measured from the tool tip.(Mill)
-
What does
G41do? (Mill and lathe)
Show the answers
- Applies the tool length offset H so Z positions are measured from the tool tip.
- G43
- Offsets the tool to the left of the path, looking in the direction of travel.
Frequently asked questions
- What does G43 mean in CNC programming?
- Tool length compensation +. Applies the tool length offset H so Z positions are measured from the tool tip.
- Is G43 modal?
- Yes. G43 belongs to the tool length group and stays active until another code from that group is programmed.
- What is the difference between G43 and G41?
- G43 (tool length compensation +): applies the tool length offset H so Z positions are measured from the tool tip. G41 (cutter compensation left): offsets the tool to the left of the path, looking in the direction of travel. A way to remember it: h for height: G43 always goes with an H.
- What is the difference between G43 and G44?
- G43 (tool length compensation +): applies the tool length offset H so Z positions are measured from the tool tip. G44 (tool length compensation −): subtracts the tool length offset instead of adding it. Rarely used. A way to remember it: h for height: G43 always goes with an H.
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.