Home › G-codes › Mach3 Mach4 › G56
G56 Work offset 3
Mach3 Mach4 G-code · Mill
Selects fixture offset 3. Positions are then measured from that work zero.
Format
G56
Addresses
| Address | What it does |
|---|---|
G56 | No address words |
How it works
Modal, coordinate system group.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
S6000 M3 (SPINDLE ON)
G56 (WORK OFFSET 3)
…
T1 M6 (TOOL CHANGE)
S6000 M3 (SPINDLE ON)
G56 (WORK OFFSET 3)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Set it on the Offsets screen or with G10 L2 P3.
- Mach3 errors if you change fixture with cutter comp on.
Related codes
G56 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Work coordinate system 3 |
| Haas NGC | Work offset 3 select |
| Okuma OSP | Tool length offset Z axis |
| LinuxCNC Tormach | Work coordinate system 3 |
| Centroid CNC12 Acorn | Work coordinate system 3 |
| Hurco WinMax (NC) | Work coordinate system 3 |
| Fadal | Fixture offset 3, same as E3 |
Every G-code for Mach3 Mach4 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 G56 in the app All Mach3 Mach4 G-codes