shitcreek thinkyhead

G54-G59.3 - Select Workspace

geometry Select a workspace coordinate system CNC_COORDINATE_SYSTEMS

Description

A “workspace” (aka “Coordinate System”) is an XYZ offset to the native machine space. All workspaces default to an offset of 0,0,0 at start, or with EEPROM support they may be restored from a previous session. Use G53 to use the native machine space (aka Workspace 0).

G-code Workspace
G54 Workspace 1
G55 Workspace 2
G56 Workspace 3
G57 Workspace 4
G58 Workspace 5
G59 Workspace 6
G59.1 Workspace 7
G59.2 Workspace 8
G59.3 Workspace 9

Once a particular workspace has been activated, G92 can then be used to set the Current Position, effectively modifying the workspace offset.

Usage

G54
G55
G56
G57
G58
G59
G59.1
G59.2
G59.3

Examples

Select Workspace 2 and rapid move to the workspace origin

G55            ; Workspace #2
G0 X0 Y0 Z0    ; Go to WS Origin

Offset Workspace 7 by X100 Y100

G53            ; Native coordinates
G0 X100 Y100   ; Center of 200x200 bed
G59.1          ; Workspace #7
G92 X0 Y0      ; Bed Center is now X0 Y0