Home › G-codes › Haas NGC › G234
G234 Tool center point control
Haas NGC G-code · Mill
TCPC keeps the tool tip on the programmed path while the rotary axes move. Lets one 5 axis program run with any work offset on a UMC style machine.
Format
G234 H
Addresses
| Address | What it does |
|---|---|
H | Tool length offset number |
How it works
Modal, tool length group 08. Cancel with G49.
Example program
T1 M06 (TOOL 1)
G90 G54 G00 A0. B0. (ROTARIES TO ZERO)
G234 H01 X0. Y0. Z1. (TCPC ON)
G49 (TCPC OFF)
G90 G54 G00 A0. B0. (ROTARIES TO ZERO)
G234 H01 X0. Y0. Z1. (TCPC ON)
G49 (TCPC OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- The work offset must be set correctly to the machine rotary zero point for TCPC to work.
- Cancel with G49 before a tool change.
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 G234 in the app All Haas NGC G-codes