Home › G-codes › LinuxCNC Tormach › G43.2
G43.2 Add tool length offset
LinuxCNC Tormach G-code · Mill and lathe
Adds an extra offset on top of the active length offset, from tool H or from axis words. Can be repeated to stack offsets.
Format
G43.2 H or G43.2 [X] [Y] [Z]
Addresses
| Address | What it does |
|---|---|
H | Tool number whose offset is added |
X Y Z | Extra offset value to add |
How it works
Modal, tool length group. Cancel with G49.
Example program
G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
T1 M6 G43 (TOOL 1 LENGTH)
G43.2 Z-0.002 (ADD .002 FOR WEAR)
S3000 M3
…
T1 M6 G43 (TOOL 1 LENGTH)
G43.2 Z-0.002 (ADD .002 FOR WEAR)
S3000 M3
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Use H or axis words, not both, in one block.
- Handy for wear compensation. G49 clears all of it.
Related codes
Every G-code for LinuxCNC Tormach 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.2 in the app All LinuxCNC Tormach G-codes