G-code reference

G92.1 G-Code: Cancel G92 Offset / Coordinate Preset

Cancel G92 Offset / Coordinate Preset — On GRBL and LinuxCNC, clears the G92 shift and resets it to zero. On Fanuc, G92.1 is the workpiece coordinate system preset: it restores the coordinate system…

By cnccode · Updated
PropertyValue
CodeG92.1
FunctionCancel G92 Offset / Coordinate Preset
Modal group00
TypeOne-shot (non-modal) — active only in its own block
Used onMills and lathes
SyntaxG92.1

What does G92.1 do?

On GRBL and LinuxCNC, clears the G92 shift and resets it to zero. On Fanuc, G92.1 is the workpiece coordinate system preset: it restores the coordinate system to the state before shifts such as G92 or manual handle interrupts.

G92.1 is a one-shot code: it only acts in the block where it is written, and the previously active modal codes take over again afterwards.

Syntax and parameters

Format
G92.1

G92.1 example program

Example
G92 X0 Y0 (temporary zero)
(…)
G92.1 (clear)

▶ Open this example in the G-code viewer

Tips and common mistakes

  • Leftover G92 shifts are a classic cause of parts machined in the wrong place.

Controller compatibility

G92.1 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G92.1 modal?
No. G92.1 is a one-shot (group 00) code and only acts in the block where it appears.
What does G92.1 mean in CNC?
G92.1 means Cancel G92 Offset / Coordinate Preset. On GRBL and LinuxCNC, clears the G92 shift and resets it to zero. On Fanuc, G92.1 is the workpiece coordinate system preset: it restores the coordinate system to the state before shifts such as G92 or manual handle…
What is the difference between G92.1 and G92?
G92.1 is Cancel G92 Offset / Coordinate Preset, while G92 is Coordinate System Setting (Mill) / Threading Cycle (Lathe). See the G92 page for its syntax and examples.
Can I use G92.1 on a lathe?
Yes, G92.1 is used on both mills and lathes, although some parameters differ between them.