G43/G49: Length compensation
Activates or cancels tool length compensation.
For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.
- Family
- Compensation
- Machine
- Milling, Mill-turn
- Risk
- High
- Example
- G43 H01 Z50
G43 H01 Z50Parameters
- H
- Número del corrector de longitud de herramienta.H debe coincidir con la herramienta montada (T3 → H03). H0 anula la compensación.
- Z
- Cota Z a la que se aplica la compensación en ese mismo bloque (lo habitual es una Z de seguridad). · mm
Machine: Milling, Mill-turnRisk: High
ISO común
G43 H... / G49- Very critical to avoid collisions in Z.
Fanuc · Haas
G43 H... Z...- Fanuc: H usually corresponds to the length offset.
- Haas: It is normally activated after a tool change.
Heidenhain
TOOL CALL ... Z S...- Length is handled with TOOL CALL and the tool table.
Related:T
Other codes in Compensation
Frequently Asked Questions (FAQ)
What does G43/G49 mean in a CNC program?
Activates or cancels tool length compensation. In the catalogue it appears as "Length compensation", within the Compensation family.
How is G43/G49 written on each control?
Fanuc: G43 H... Z... · Haas: G43 H... Z... · Heidenhain: TOOL CALL ... Z S... · ISO común: G43 H... / G49. The exact syntax depends on the control version and the machine parameters: always confirm with the manufacturer's manual.
Can you give me an example of G43/G49?
G43 H01 Z50 — Activates or cancels tool length compensation.
Which other codes is G43/G49 combined with?
In practice G43/G49 appears alongside these codes: G40, T, H. It is worth reading them together, because the state one leaves behind conditions what the next one does.
Which machines use G43/G49?
G43/G49 is used in: Milling, Mill-turn.
What should you watch out for with G43/G49?
High risk: a mistake here can cause a crash, a broken tool or an out-of-tolerance part. Simulate the program and dry-run it before cutting.
Related tools
CNC G-code Simulator
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.
CNC Alarms Guide
CNC Alarms and Solutions Guide. Enter the error code or symptom to find the cause and how to repair it at the machine.
Calculate cycle time
Estimate CNC turning and milling cycle time from G-code. Calculate parts per hour with a breakdown of cutting, rapids, canned cycles and tool changes.