CNC Machinist Calculator Ultra

Home › G-codes › Mazak (EIA) › G54

G54 Work offsets G54 to G59

Mazak (EIA) G-code · Mill and lathe

Selects one of six work coordinate systems, G54 to G59. Program X Y Z values are then measured from that part zero. Mazak calls these work offsets in the EIA screens.

Format

G54 to G59

Addresses

AddressWhat it does
G54 to G59Work offset 1 to 6

How it works

Modal, group 12. G54 is the power on state.

Example program

G20 G17 G40 G49 G80 G90 (SAFETY LINE)
T01 M06 (TOOL 1)
G54 G00 X0. Y0. S3000 M03 (WORK OFFSET 1)
G43 H01 Z1. (LENGTH OFFSET)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G54.1 · G53 · G10

G54 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucWork coordinate system 1
Haas NGCWork offset 1 select
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
Mach3 Mach4Work offset 1
Centroid CNC12 AcornWork coordinate system 1
Hurco WinMax (NC)Work coordinate system 1
FadalFixture offset 1, same as E1

Every G-code for Mazak (EIA) 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 Mazak G-codes

App Store Google Play