G-code reference
G154 G-Code: Additional Work Offsets (Haas)
Additional Work Offsets (Haas) — Haas command that selects extra work offsets P1–P99, used on multi-part fixtures and tombstones.
| Property | Value |
|---|---|
| Code | G154 |
| Function | Additional Work Offsets (Haas) |
| Modal group | 12 |
| Type | Modal — stays active until replaced by another code of the same group |
| Used on | Milling machines |
| Syntax | G154 P_ |
What does G154 do?
Haas command that selects extra work offsets P1–P99, used on multi-part fixtures and tombstones.
G154 is modal: once programmed it remains in effect for the following blocks until another code from modal group 12 replaces it or the control is reset.
Syntax and parameters
G154 P_| Address | Meaning |
|---|---|
P | 1–99 |
G154 example program
G154 P1 G00 X0 Y0▶ Open this example in the G-code viewer
Tips and common mistakes
- G154 P1–P20 equal G110–G129.
Controller compatibility
G154 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.