M425 - Backlash compensation
Backlash compensation will add extra steps to one or more segments whenever a motor reverses direction.
By default, steps are added to the first segment after a direction change. This gives the best dimensional accuracy but may cause marks to appear in the print. Smoothing spreads the added steps over multiple consecutive segments to prevent blemishes in the print, at the expense of dimensional accuracy.
Backlash compensation can be configured at either compile-time or run-time. Enable
BACKLASH_GCODE to turn on
M425 and a “Backlash” menu item.
Backlash can be measured automatically on all axes with
G425 or on Z only with
MEASURE_BACKLASH_WHEN_PROBING is enabled.
BACKLASH_GCODE and the following parameters:
BACKLASH_DISTANCE_MMspecifies the default backlash on the X, Y and Z axis.
BACKLASH_CORRECTIONspecifies the default backlash correction (0.0 = none; 1.0 = 100%).
BACKLASH_SMOOTHING_MMenables backlash smoothing over a specified distance.
M425for run-time tuning of backlash.
MEASURE_BACKLASH_WHEN_PROBINGturns on Z backlash measurement when probing (
M425 [F<value>] [X<linear>] [Y<linear>] [Z<linear>] [Z]
Enable or disables backlash correction, or sets an intermediate fade-out (0.0 = none; 1.0 = 100%)
Set the backlash distance on X (mm; 0 to disable)
Set the backlash distance on Y (mm; 0 to disable)
Set the backlash distance on Z (mm; 0 to disable)
Manually configure backlash compensation:
Automatically measure X, Y, and Z backlash using
G425 automatically loads the measured backlash into the backlash distance, but will not enable backlash compensation.
To automatically measure Z backlash when probing with
MEASURE_BACKLASH_WHEN_PROBING measures backlash, but does not update the configured backlash distance. The measured value should be activated by using the
Z argument without a value. This differs from the behavior of
Report the current backlash configuration: