CNC Machinist Calculator Ultra

Home › G-codes › Fanuc › G54

G54 Work coordinate system 1

Fanuc G-code · Mill, Lathe

On mills: Work coordinate system 1

Selects work offset 1. The control adds this offset to every position so the program can be written from the part zero instead of machine zero. The default at power on.

Format

G54

How it works

Modal, group 14. G54 to G59 and G54.1 share the group.

Example program

G17 G20 G40 G49 G80 G90 (SAFE START)
T1 M06 (TOOL 1)
G54 G00 X0. Y0. S2500 M03 (FIRST VISE, PART ZERO)
G43 H01 Z1. M08 (LENGTH COMP)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Work coordinate system 1

Selects work offset 1. Program zero is taken from the G54 line on the work offset page. G54 is the power on default.

Format

G54

How it works

Modal, group 14. Power on default.

Example program

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

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G55 · G54.1 · G10 · G52 · G53

G54 on other controls

The same number can mean something different on another control.

ControlMeaning
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
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 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 G54 in the app All Fanuc G-codes

App Store Google Play