Home › G-codes › Mazak (EIA) › G43
G43 Tool length offset, plus direction
Mazak (EIA) G-code · Mill
Adds the tool length from offset H to Z moves. Give it with the first Z move after a tool change.
Format
G43 Z H
Addresses
| Address | What it does |
|---|---|
Z | First Z position, with the offset applied |
H | Offset number with the tool length |
How it works
Modal, group 08. Cancel with G49.
Example program
T03 M06 (.500 DRILL)
G90 G54 G00 X1. Y1. S2000 M03 (POSITION, SPINDLE ON)
G43 H03 Z1. M08 (LENGTH OFFSET ON, COOLANT)
G81 Z-.75 R.1 F12. (DRILL)
…
G90 G54 G00 X1. Y1. S2000 M03 (POSITION, SPINDLE ON)
G43 H03 Z1. M08 (LENGTH OFFSET ON, COOLANT)
G81 Z-.75 R.1 F12. (DRILL)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- On Mazak the tool length can also come from Mazatrol TOOL DATA by parameter. Using both can double the offset. Check on a new machine.
- Put G43 on a move high above the part the first time.
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 |
| 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 Mazak (EIA) 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 Mazak G-codes