Home › G-codes › Mach3 Mach4 › G54.1
G54.1 Extra work offsets, Mach4
Mach3 Mach4 G-code · Mill
Mach4. Selects one of 248 extra fixture offsets with P. G54.1 P1 is the same offset as the old G59 P7.
Format
G54.1 P
Addresses
| Address | What it does |
|---|---|
P | Extra offset number, 1 to 248 |
How it works
Modal, coordinate system group.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
G10 L20 P5 X3.0 Y3.4 Z-10.0 (SET G54.1 P5)
G54.1 P5 (USE EXTRA OFFSET 5)
…
T1 M6 (TOOL CHANGE)
G10 L20 P5 X3.0 Y3.4 Z-10.0 (SET G54.1 P5)
G54.1 P5 (USE EXTRA OFFSET 5)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Set these with G10 L20 P, not L2.
- Mach3 has no G54.1. Use G59 P7 and up there.
Related codes
G54.1 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Additional work coordinate systems |
| Mazak (EIA) | Additional work offsets G54.1 P |
| Mitsubishi M70 M80 | Extended work coordinates |
| Brother Speedio | Additional work coordinate systems |
| Hurco WinMax (NC) | Auxiliary work offsets |
Every G-code for Mach3 Mach4 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 G54.1 in the app All Mach3 Mach4 G-codes