Home › G-codes › Siemens 808D › G54
G54 Settable work offsets G54 to G59
Siemens 808D G-code · Mill and lathe
Activates one of six settable work offsets G54 to G59 from the work offset table. The offset holds the part zero relative to machine zero, entered by the operator at setup.
Format
G54 or G55 or G56 or G57 or G58 or G59
How it works
Modal, G group 8 (settable work offset). Cancel with G500.
Example program
G17 G90 G71 ; XY PLANE, ABSOLUTE, MM
G54 ; FIRST PART ZERO
L47 ; MACHINE PART 1
G55 ; SECOND PART ZERO
…
G54 ; FIRST PART ZERO
L47 ; MACHINE PART 1
G55 ; SECOND PART ZERO
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- G500 is active at program start, so program G54 to G59 before the first move.
- Programmable offsets TRANS and ATRANS act on top of the active G54 to G59.
- On the 808D ADVANCED turning version the machine builder can add G507 to G532.
Related codes
G500 · G53 · G153 · TRANS · G507
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 |
| Siemens 808D ISO | Work offset 1 and extra work offsets |
| 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 |
| Centroid CNC12 Acorn | Work coordinate system 1 |
| Hurco WinMax (NC) | Work coordinate system 1 |
| Fadal | Fixture offset 1, same as E1 |
Every G-code for Siemens 808D 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 Siemens 808D G-codes