G43 Tool length compensation positive
Fadal G-code · Mill
Adds the tool length from offset H to Z. Format 2 needs G43 with H. Format 1 picks up the length with the H word alone on the Z move.
Format
G43 H Z
Addresses
| Address | What it does |
|---|---|
H | Tool length offset number |
Z | First Z move with the offset |
How it works
Modal until G49 or a new H.
Example program
N1 G0 G40 G49 G80 G90 G17 (FORMAT 2 SAFE START)
N2 T2 M6 (1-4 DRILL)
N3 G0 G90 G54 X1. Y1. S2500 M3
N4 G43 H2 Z.1 M8 (LENGTH OFFSET 2)
…
N2 T2 M6 (1-4 DRILL)
N3 G0 G90 G54 X1. Y1. S2500 M3
N4 G43 H2 Z.1 M8 (LENGTH OFFSET 2)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Format 2 example G43 H1 Z.1. Format 1 example H1 Z.1 with no G43.
- In Format 2 the H word gives length only. The radius for G41 and G42 comes from D.
- Use the H that matches the tool. A wrong H is the classic crash.
Related codes
G43 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Tool length compensation |
| Haas NGC | Tool length compensation plus |
| 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 |
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 G43 in the app All Fadal G-codes