G92 - Set Position
Description
The G92 command redefines the current position coordinates without physically moving the machine. This is useful for setting a new coordinate system origin, zeroing axes at the current position, or establishing work coordinates for machining operations.
When G92 is executed, the machine controller updates its internal position registers to the specified values while keeping the physical position unchanged. This effectively shifts the coordinate system so that the current position becomes the new specified coordinates.
Syntax
Parameters
Parameter | Description | Example |
---|---|---|
X | New X coordinate value | X0 or X10.5 |
Y | New Y coordinate value | Y0 or Y-5.2 |
Z | New Z coordinate value | Z0 or Z25.0 |
Note: Only specify the axes you want to redefine. Unspecified axes retain their current coordinate values.
Examples
Zero all axes at current position
Sets the current position as the new origin (0,0,0) for all three axes.
Set Z-axis to specific height
Defines the current Z position as 25.4 units (useful when touching off on a workpiece of known thickness).
Establish work coordinate system
Negative coordinate setup
Sets the current position to (-10, -5, 2.5), effectively creating an offset coordinate system.