Zero Offest Shifts (G53,G54...59)

G53 zero shift suppression

Command

G53 (default setting)

Cancellation

G54..G57

Deactivate any zero offset shift translation. This adjustment is the default. The deactivation becomes active also for the current block. See sections Zero Offset Shift and G58/ G59 for details.

G54..G57 adjustable zero shift

Command

G54
G55
G56
G57

Cancellation

G53
or selection of another configurable zero shift

Activates the translation that is associated with the given G-Code (TZ54…TZ57). Also activates the translations of G58 and G59. The translations apply to the current block and all succeeding blocks until changed. See section Zero Offset Shift for details.

G58, G59 programmable zero shift

Command

G58 or G59

Cancellation

G53

Set the translation that is associated with the given G-Code. The new translation value is given by the parameters X,Y,Z, which are mandatory. By default, the associated translations are zero. See section Zero Offset Shift for details.

Example:

The resulting MCS (machine coordinate system) path and the applied translations of this example are shown in Figure “ExampleG54G58G59”.

!zeroOffsetShiftSet(g:=54, x:=0, y:=5, z:=0);
N10 G58 X0 Y10 Z0
N20 G01 X20 Y0 F6000
N30 G54 X40 Y0
N40 G59 X0 Y5 Z0
!VAR pcsX, pcsY, pcsZ : LREAL; END_VAR
!frameGet(x=>pcsX, y=>pcsY, z=>pcsZ);
N50 X60
N60 X80 Y0
M02
Zero Offest Shifts (G53,G54...59) 1:

Figure “ExampleG54G58G59”.