shitcreek thinkyhead

M422 - Set Z Motor XY

2.0.4 calibration Set a Z motor position for G34 Auto-Alignment Z_STEPPER_AUTO_ALIGN

Description

Set an XY probe or known position for a given Z Stepper. Either the S or W parameter must be given, along with X and Y positions. The W parameter exists only when Z_STEPPER_ALIGN_STEPPER_XY is defined, providing known stepper positions.

Notes

See G34 for further details about Z-Stepper automatic alignment.

Requires Z_STEPPER_AUTO_ALIGN.

M422 W requires Z_STEPPER_ALIGN_STEPPER_XY.

Usage

M422 [R] [S<index>] [W<index>] [X<linear>] [Y<linear>]

Parameters

[R]

Reset alignment and known points to the defaults. This will also be done by M502.

[S<index>]

One-based index of a Z-Stepper whose probing-point will be set.

[W<index>] Z_STEPPER_ALIGN_STEPPER_XY

One-based index of a Z-Stepper whose known position will be set.

[X<linear>]

X position

[Y<linear>]

Y position

Related Media

Examples

Set a probe position for aligning the first Z stepper

M422 S1 X10 Y10

Set a known position for the second Z stepper

M422 W2 X10 Y10