G-code reference

G234 G-Code: Tool Centre Point Control (Haas TCPC)

Tool Centre Point Control (Haas TCPC) — Haas 5-axis TCPC: the control keeps the tool tip on the programmed path while the rotary axes move, so programs are independent of the part position on the…

By cnccode · Updated
PropertyValue
CodeG234
FunctionTool Centre Point Control (Haas TCPC)
Modal group08
TypeModal — stays active until replaced by another code of the same group
Used onMilling machines
SyntaxG234 H_

What does G234 do?

Haas 5-axis TCPC: the control keeps the tool tip on the programmed path while the rotary axes move, so programs are independent of the part position on the table.

G234 is modal: once programmed it remains in effect for the following blocks until another code from modal group 08 replaces it or the control is reset.

Syntax and parameters

Format
G234 H_
AddressMeaning
HTool length offset

G234 example program

Example
G234 H01
(simultaneous 5-axis path)
G49

▶ Open this example in the G-code viewer

Tips and common mistakes

  • Use together with G254 DWO for work offsets on rotating tables.

Controller compatibility

G234 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G234 modal?
Yes. G234 belongs to modal group 08 and stays active until another code of that group is programmed.
What does G234 mean in CNC?
G234 means Tool Centre Point Control (Haas TCPC). Haas 5-axis TCPC: the control keeps the tool tip on the programmed path while the rotary axes move, so programs are independent of the part position on the table.
What is the difference between G234 and G254?
G234 is Tool Centre Point Control (Haas TCPC), while G254 is Dynamic Work Offset (Haas DWO). See the G254 page for its syntax and examples.
Can I use G234 on a lathe?
Usually not with the same meaning: G234 is documented here for milling machines. Check your control manual for the equivalent.