Home › G-codes › Haas NGC › G43
G43 Tool length compensation plus
Haas NGC G-code · Mill, Lathe
On mills: Tool length compensation plus
Adds the H offset to the Z position so Z0 is the part surface for that tool. Call it on the first Z move after every tool change.
Format
Addresses
| Address | What it does |
|---|---|
H | Tool length offset number, normally the same as the tool number |
Z | First Z move with compensation on |
How it works
Modal, tool length group 08. Cancel with G49, G28 or M30 depending on settings.
Example program
G90 G54 G00 X-2. Y0. S1200 M03 (POSITION)
G43 H01 Z1. M08 (LENGTH COMP ON, 1 INCH ABOVE PART)
Z.1 (CLOSE TO PART)
Example is in inch. Check offsets and clearances first.
Watch out for
- A wrong H number is a classic crash. Keep H the same as T.
- Setting 15 can make the control check that H matches the tool number.
On lathes: Tool length compensation plus
Adds the tool length offset to the commanded position. On NGC lathes tool offsets are applied by the T code by default, so G43 is rarely written by hand.
Format
How it works
Modal, group 08.
Example program
G00 G54 X2. Z.1 (APPROACH)
G01 Z-1. F.01 (TURN WITH TOOL 1 OFFSET ACTIVE)
Example is in inch. Check offsets and clearances first.
Watch out for
- From NGC software 100.21.000.1100 offsets are always applied unless Txx00 is commanded.
Related codes
G43 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Tool length compensation |
| Mazak (EIA) | Tool length offset, plus direction |
| Okuma OSP | 3D compensation cancel |
| Mitsubishi M70 M80 | Tool length comp plus |
| Brother Speedio | Tool length offset plus |
| Fagor 8055 8065 | Tool length compensation on |
| LinuxCNC Tormach | Tool length offset on |
| Mach3 Mach4 | Tool length offset |
| Centroid CNC12 Acorn | Tool length compensation plus |
| Hurco WinMax (NC) | Tool length offset plus |
| Fadal | Tool length compensation positive |
Every G-code for Haas NGC 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 G43 in the app All Haas NGC G-codes