Home › G-codes › LinuxCNC Tormach › G54
G54 Work coordinate system 1
LinuxCNC Tormach G-code · Mill and lathe
Selects work coordinate system 1 of 9. All following positions are measured from its origin.
Format
G54
Addresses
| Address | What it does |
|---|---|
none | No words |
How it works
Modal, coordinate system group.
Example program
G20 G17 G40 G49 G80 G90 G94 (INCH, SAFE START)
T1 M6 G43
G54 (WORK SYSTEM 1)
S3000 M3
…
T1 M6 G43
G54 (WORK SYSTEM 1)
S3000 M3
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- LinuxCNC has nine work systems, G54 to G59.3. Values are saved in the var file.
- Set it with touch off, G10 L2 P1 or G10 L20 P1.
- G54 is the default after power up and after M2 or M30.
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 |
| 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 LinuxCNC Tormach 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 LinuxCNC Tormach G-codes