Home › G-codes › Haas NGC › G56
G56 Work offset 3 select / Work coordinate system 3
Haas NGC G-code · Mill, Lathe
On mills: Work offset 3 select
Selects work offset 3. Programmed positions are measured from the part zero stored in G56 on the offset page.
Format
How it works
Modal, work offset group 12. Stays active until another work offset is commanded.
Example program
G90 G56 G00 X0. Y0. S2000 M03 (PART ZERO OF OFFSET 3)
G43 H01 Z1. (LENGTH COMP ON)
Example is in inch. Check offsets and clearances first.
Watch out for
- Call the work offset on the first positioning line of every tool so the program can be restarted at any tool.
- An empty offset leaves part zero at machine zero, which can crash.
On lathes: Work coordinate system 3
Selects work offset 3. All following positions are read from this part zero. Values are set on the work offset page or with G10 L2 P3.
Format
How it works
Modal, group 12.
Example program
G00 G56 X2.1 Z.1 (APPROACH IN WORK OFFSET 3)
G01 Z-1. F.01 (TURN)
Example is in inch. Check offsets and clearances first.
Watch out for
- On DS lathes a separate work offset is often used for the secondary spindle, for example G55.
- For more offsets use G154 P1 to P99.
Related codes
G54 · G55 · G57 · G58 · G59 · G154 · G10
G56 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Work coordinate system 3 |
| 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 Haas NGC 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 Haas NGC G-codes