G-code reference
G54.1 G-Code: Additional Work Coordinate Systems
Additional Work Coordinate Systems — Fanuc option that provides up to 48 (or 300) extra work offsets, selected with P. It is common on tombstones and pallet systems.
| Property | Value |
|---|---|
| Code | G54.1 |
| Function | Additional Work Coordinate Systems |
| Modal group | 14 |
| Type | Modal — stays active until replaced by another code of the same group |
| Used on | Milling machines |
| Syntax | G54.1 P_ |
What does G54.1 do?
Fanuc option that provides up to 48 (or 300) extra work offsets, selected with P. It is common on tombstones and pallet systems.
G54.1 is modal: once programmed it remains in effect for the following blocks until another code from modal group 14 replaces it or the control is reset.
Syntax and parameters
G54.1 P_| Address | Meaning |
|---|---|
P | Offset number 1–48 (or 1–300) |
G54.1 example program
G54.1 P1 G00 X0 Y0
G54.1 P2 G00 X0 Y0▶ Open this example in the G-code viewer
Tips and common mistakes
- Haas: G154 P1–P99 (or G110–G129).
- Set with G10 L20 P_.
Controller compatibility
G54.1 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.
Related codes
- G54 — Work Coordinate System 1
- G154 — Additional Work Offsets (Haas)
- G10 — Programmable Data Input (Set Offsets)