Home › G-codes › LinuxCNC Tormach › G57
G57 Work coordinate system 4
LinuxCNC Tormach G-code · Mill and lathe
Selects work coordinate system 4 of 9. All following positions are measured from its origin.
Format
G57
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
G57 (WORK SYSTEM 4)
S3000 M3
…
T1 M6 G43
G57 (WORK SYSTEM 4)
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 P4 or G10 L20 P4.
Related codes
G57 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Work coordinate system 4 |
| Haas NGC | Work offset 4 select |
| Mach3 Mach4 | Work offset 4 |
| Centroid CNC12 Acorn | Work coordinate system 4 |
| Hurco WinMax (NC) | Work coordinate system 4 |
| Fadal | Fixture offset 4, same as E4 |
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 G57 in the app All LinuxCNC Tormach G-codes