Home › G-codes › Haas NGC › G143
G143 5 axis tool length compensation
Haas NGC G-code · Mill
Tool length compensation that follows the tilt of the rotary axes so the tool tip stays where programmed. Used on 5 axis machines.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G143 H Z
Addresses
| Address | What it does |
|---|---|
H | Tool length offset number |
Z | First Z move with compensation on |
How it works
Modal, tool length group 08. Cancel with G49.
Example program
T1 M06 (TOOL 1)
G143 H01 Z1. (5 AXIS LENGTH COMP ON)
G49 (LENGTH COMP OFF)
G143 H01 Z1. (5 AXIS LENGTH COMP ON)
G49 (LENGTH COMP OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- Many newer Haas 5 axis programs use G234 TCPC instead. Use what your post and machine expect.
Related codes
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 G143 in the app All Haas NGC G-codes