Home › G-codes › Centroid CNC12 Acorn › G54
G54 Work coordinate system 1
Centroid CNC12 Acorn G-code · Mill and lathe
Selects work coordinate system 1. Following absolute positions are measured from this part zero. G54 is the usual default.
Format
G54 [P]
Addresses
| Address | What it does |
|---|---|
P | Extended work offset 1 to 12, for WCS 7 to 18 |
How it works
Modal, work offset group.
Example program
G20 G90 G40 ; INCH, ABSOLUTE
G54 G0 X0 Y0 ; GO TO ZERO OF WORK OFFSET 1
G0 Z1. ; CLEARANCE
G54 G0 X0 Y0 ; GO TO ZERO OF WORK OFFSET 1
G0 Z1. ; CLEARANCE
Example is in inch. Check offsets and clearances first.
Watch out for
- Mill programs can also use E1 to E18. Extra offsets 7 to 18 are G54 P1 to G54 P12 and cost extra.
- Work offsets are set in the WCS screen. Check them before every new setup.
Related codes
G54 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Work coordinate system 1 |
| Haas NGC | Work offset 1 select |
| Mazak (EIA) | Work offsets G54 to G59 |
| Okuma OSP | Tool length offset X axis |
| Mitsubishi M70 M80 | Work coordinate G54 to G59 |
| Brother Speedio | Work coordinate systems G54 to G59 |
| Siemens 840D 828D | Settable work offsets G54 to G57 |
| Heidenhain TNC (ISO) | Datum shift in the program |
| Fagor 8055 8065 | Absolute zero offset 1 |
| LinuxCNC Tormach | Work coordinate system 1 |
| Mach3 Mach4 | Work offset 1 |
| Hurco WinMax (NC) | Work coordinate system 1 |
| Fadal | Fixture offset 1, same as E1 |
Every G-code for Centroid CNC12 Acorn 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 in the app All Centroid CNC12 Acorn G-codes