flexi-bot/docs/marlin/_gcode/G042.md
2023-09-05 20:38:49 +02:00

1.4 KiB

tag title brief author since requires group codes parameters examples
g042 Move to mesh coordinate Move to a specific point in the leveling mesh ManuelMcLure 1.1.2 HAS_MESH calibration
G42
tag optional description values
I true The column of the mesh coordinate
tag type
pos float
tag optional description values
J true The row of the mesh coordinate
tag type
pos float
tag optional description values
F true The maximum movement rate of the move between the start and end point. The feedrate set here applies to subsequent moves that omit this parameter.
tag type
rate float
pre code
Move to various points on a 9x9 mesh
G42 I0 J0 ; front left corner
G42 I4 J4 ; center
G42 I4 J8 ; back center
G42 I8 J8 ; back right

The G42 command moves the nozzle to the location corresponding to a specific coordinate in the bed leveling mesh. It operates similarly to the G0 and G1 commands except that the provided coordinates are a mesh row and column instead of an absolute or relative position on the bed.

The G42 command will determine the bed position that corresponds to the provided mesh row and column and move the nozzle to that position.