CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G59

G59 Work offset 6 select / Work coordinate system 6

Haas NGC G-code · Mill, Lathe

On mills: Work offset 6 select

Selects work offset 6. Programmed positions are measured from the part zero stored in G59 on the offset page.

Format

G59

How it works

Modal, work offset group 12. Stays active until another work offset is commanded.

Example program

T1 M06 (TOOL 1)
G90 G59 G00 X0. Y0. S2000 M03 (PART ZERO OF OFFSET 6)
G43 H01 Z1. (LENGTH COMP ON)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Work coordinate system 6

Selects work offset 6. All following positions are read from this part zero. Values are set on the work offset page or with G10 L2 P6.

Format

G59

How it works

Modal, group 12.

Example program

T0101 (OD TOOL)
G00 G59 X2.1 Z.1 (APPROACH IN WORK OFFSET 6)
G01 Z-1. F.01 (TURN)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G54 · G55 · G56 · G57 · G58 · G154 · G10

G59 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucWork coordinate system 6
LinuxCNC TormachWork coordinate system 6
Mach3 Mach4Work offset 6 and extra offsets
Centroid CNC12 AcornWork coordinate system 6
Hurco WinMax (NC)Work coordinate system 6
FadalFixture offset 6, same as E6

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 G59 in the app All Haas NGC G-codes

App Store Google Play