CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G54

G54 Work offset 1 select / Work coordinate system 1

Haas NGC G-code · Mill, Lathe

On mills: Work offset 1 select

Selects work offset 1. Programmed positions are measured from the part zero stored in G54 on the offset page.

Format

G54

How it works

Modal, work offset group 12. Stays active until another work offset is commanded.

Example program

T1 M06 (TOOL 1)
G90 G54 G00 X0. Y0. S2000 M03 (PART ZERO OF OFFSET 1)
G43 H01 Z1. (LENGTH COMP ON)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Work coordinate system 1

Selects work offset 1. All following positions are read from this part zero. Values are set on the work offset page or with G10 L2 P1.

Format

G54

How it works

Modal, group 12.

Example program

T0101 (OD TOOL)
G00 G54 X2.1 Z.1 (APPROACH IN WORK OFFSET 1)
G01 Z-1. F.01 (TURN)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G55 · G56 · G57 · G58 · G59 · G154 · G10

G54 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucWork coordinate system 1
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 Haas NGC 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 Haas NGC G-codes

App Store Google Play