CNC Machinist Calculator Ultra

Home › G-codes › Siemens 840D 828D › G54

G54 Settable work offsets G54 to G57

Siemens 840D 828D G-code · Mill and lathe

Activates the work offset stored in the G54 line of the work offset table. G55, G56 and G57 work the same with their own lines.

Format

G54 or G55 or G56 or G57

How it works

Modal, G group 8 (settable work offset). Cancel with G500.

Example program

G17 G90 G54 G71 ; FIRST FIXTURE
G0 X0 Y0 Z50 ; PART ZERO OF G54
G55 ; SECOND FIXTURE
G0 X0 Y0 ; PART ZERO OF G55

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G505 · G500 · G53 · TRANS

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
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 Siemens 840D 828D 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 Siemens 840D 828D G-codes

App Store Google Play