CNC Machinist Calculator Ultra

Home › G-codes › Mach3 Mach4 › G59

G59 Work offset 6 and extra offsets

Mach3 Mach4 G-code · Mill

Selects fixture offset 6. Positions are then measured from that work zero. Mach3 G59 P selects any of the extra fixture offsets.

Format

G59 [P]

Addresses

AddressWhat it does
PFixture number, 7 and up for the extra offsets

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)
G59 P8 (FIXTURE 8)
…

The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G10 · G54.1 · G52 · G54

G59 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucWork coordinate system 6
Haas NGCWork offset 6 select
LinuxCNC TormachWork coordinate system 6
Centroid CNC12 AcornWork coordinate system 6
Hurco WinMax (NC)Work coordinate system 6
FadalFixture offset 6, same as E6

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 G59 in the app All Mach3 Mach4 G-codes

App Store Google Play