CNC Machinist Calculator Ultra

Home › G-codes › Fanuc › G59

G59 Work coordinate system 6

Fanuc G-code · Mill, Lathe

On mills: Work coordinate system 6

Selects work offset 6, the sixth part zero. It works the same way as G54. Used for a sixth vise, part or fixture station so one program can cut several parts.

Format

G59

How it works

Modal, group 14. Stays until another work offset is called.

Example program

G90 G59 G00 X0. Y0. (PART ZERO AT STATION 6)
G43 H01 Z1. (LENGTH COMP)
M98 P1000 (CUT PART)
G00 Z1. (CLEAR)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Work coordinate system 6

Selects work offset 6. Program zero is taken from the G59 line on the work offset page.

Format

G59

How it works

Modal, group 14.

Example program

G59 (WORK OFFSET 6)
T0101 (OD TURNING TOOL)
G00 X2.1 Z.1 (APPROACH)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G54 · G10 · G54.1 · G52 · G53

G59 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCWork offset 6 select
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 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 G59 in the app All Fanuc G-codes

App Store Google Play