CNC Machinist Calculator Ultra

Home › G-codes › Mach3 Mach4 › G54

G54 Work offset 1

Mach3 Mach4 G-code · Mill

Selects fixture offset 1. Positions are then measured from that work zero. G54 is the default.

Format

G54

Addresses

AddressWhat it does
G54No address words

How it works

Modal, coordinate system group. Default.

Example program

G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
S6000 M3 (SPINDLE ON)
G54 (WORK OFFSET 1)
…

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 · G55

G54 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucWork coordinate system 1
Haas NGCWork offset 1 select
Mazak (EIA)Work offsets G54 to G59
Okuma OSPTool length offset X axis
Mitsubishi M70 M80Work coordinate G54 to G59
Brother SpeedioWork coordinate systems G54 to G59
Siemens 840D 828DSettable work offsets G54 to G57
Heidenhain TNC (ISO)Datum shift in the program
Fagor 8055 8065Absolute zero offset 1
LinuxCNC TormachWork coordinate system 1
Centroid CNC12 AcornWork coordinate system 1
Hurco WinMax (NC)Work coordinate system 1
FadalFixture offset 1, same as E1

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

App Store Google Play