G56 Work coordinate system 3
Fanuc G-code · Mill, Lathe
On mills: Work coordinate system 3
Selects work offset 3, the third part zero. It works the same way as G54. Used for a third vise, part or fixture station so one program can cut several parts.
Format
G56
How it works
Modal, group 14. Stays until another work offset is called.
Example program
G90 G56 G00 X0. Y0. (PART ZERO AT STATION 3)
G43 H01 Z1. (LENGTH COMP)
M98 P1000 (CUT PART)
G00 Z1. (CLEAR)
G43 H01 Z1. (LENGTH COMP)
M98 P1000 (CUT PART)
G00 Z1. (CLEAR)
Example is in inch. Check offsets and clearances first.
Watch out for
- Set the offset on the work offset page or with G10 L2 P3.
- Stays active until another work offset is called, so call it again after every tool change if you use more than one.
- Check the right offset is active on the screen before pressing cycle start.
On lathes: Work coordinate system 3
Selects work offset 3. Program zero is taken from the G56 line on the work offset page.
Format
G56
How it works
Modal, group 14.
Example program
G56 (WORK OFFSET 3)
T0101 (OD TURNING TOOL)
G00 X2.1 Z.1 (APPROACH)
T0101 (OD TURNING TOOL)
G00 X2.1 Z.1 (APPROACH)
Example is in inch. Check offsets and clearances first.
Watch out for
- The external work shift line adds to every work offset. Keep it at zero unless you mean to use it.
- On most lathes the work offset holds Z only, with X at zero.
Related codes
G56 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Work offset 3 select |
| Okuma OSP | Tool length offset Z axis |
| LinuxCNC Tormach | Work coordinate system 3 |
| Mach3 Mach4 | Work offset 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 Fanuc 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 Fanuc G-codes