Home › G-codes › Siemens 808D ISO › G57
G57 Work offset 4 / Work offset 4 select
Siemens 808D ISO G-code · Mill, Lathe
On mills: Work offset 4
Selects work offset 4. Program positions are then measured from this zero point.
Format
G57
How it works
Modal, group 14.
Example program
G17 G40 G49 G80 G90 (SAFE START)
G57 G00 X0. Y0. (WORK OFFSET 4)
G43 Z50. H01 (LENGTH OFFSET)
Z5. (CLEARANCE)
G57 G00 X0. Y0. (WORK OFFSET 4)
G43 Z50. H01 (LENGTH OFFSET)
Z5. (CLEARANCE)
Example is in inch. Check offsets and clearances first.
Watch out for
- G10 L2 P4 writes this offset from the program.
On lathes: Work offset 4 select
Selects settable work offset 4. Program positions are then measured from the part zero stored there.
Format
G57
How it works
Modal, G group 14, with G54 to G59.
Example program
G18 G21 G40 G99 (SAFE START)
G57 (WORK OFFSET 4)
G00 X150.0 Z100.0 (SAFE POINT)
G00 X52.0 Z2.0 (APPROACH PART)
G57 (WORK OFFSET 4)
G00 X150.0 Z100.0 (SAFE POINT)
G00 X52.0 Z2.0 (APPROACH PART)
Example is in inch. Check offsets and clearances first.
Watch out for
- Set the values on the HMI or with G10 L2 P4.
- A G50 shift moves this offset too, since G50 shifts all of G54 to G59.
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 |
| LinuxCNC Tormach | Work coordinate system 4 |
| 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 Siemens 808D ISO 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 Siemens 808D ISO G-codes