CNC Machinist Calculator Ultra

Home › G-codes › Mach3 Mach4 › G43

G43 Tool length offset

Mach3 Mach4 G-code · Mill

Applies the length offset from tool table entry H. The DRO then shows the tool tip position.

Format

G43 H [Z]

Addresses

AddressWhat it does
HTool table entry, usually same as tool number
ZOptional move in the same block

How it works

Modal, length offset group. Cancel with G49.

Example program

G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T3 M6 (TOOL CHANGE)
S9000 M3 (SPINDLE ON)
G0 X0 Y0 (OVER THE PART)
…

The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G44 · G49 · M6

G43 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucTool length compensation
Haas NGCTool length compensation plus
Mazak (EIA)Tool length offset, plus direction
Okuma OSP3D compensation cancel
Mitsubishi M70 M80Tool length comp plus
Brother SpeedioTool length offset plus
Fagor 8055 8065Tool length compensation on
LinuxCNC TormachTool length offset on
Centroid CNC12 AcornTool length compensation plus
Hurco WinMax (NC)Tool length offset plus
FadalTool length compensation positive

Every G-code for Mach3 Mach4 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 Mach3 Mach4 G-codes

App Store Google Play