machines/systems/flexibot/docs/marlin/_gcode/G092.md
2025-03-11 23:32:39 +01:00

1.8 KiB

tag title brief author contrib since group codes notes parameters examples
g092 Set Position Set the current position of one or more axes. thinkyhead shitcreek 1.0.0-beta motion
G92
In earlier versions of Marlin `G92` doesn't update the software endstops, so it was unsupported to set coordinates outside these boundaries. In Marlin 1.1.0 and up, the physical boundaries are maintained. This means you can no longer use `G92` to move below the bed, for example.
tag optional description values
X true New X axis position
tag type
pos float
tag optional description values
Y true New Y axis position
tag type
pos float
tag optional description values
Z true New Z axis position
tag type
pos float
tag optional description values
E true New extruder position
tag type
pos float
pre code
Specify that the nozzle's current X position is 10 and the current extruder position is 90.
G92 X10 E90
pre code
Specify that the nozzle's current XYZ position is 0, 0, 0.
G92 X0 Y0 Z0
pre code
Resets selected workspace is 0, 0, 0.
G92.1

Set the current position to the values specified. In Marlin 1.1.0 and up, the software endstops are adjusted to preserve the physical movement limits. Thus you could use G92 to set the middle of the bed to 0,0 and then run .gcode that was sliced for a Deltabot.

The CNC_COORDINATE_SYSTEMS option enables use of G92.1 to reset the selected workspace to native machine space. See G54-G59 and G53.