[Marlin] M420 - Bed Leveling State
Last updated
📅Update: 2020/10/13
Get and/or set bed leveling state. For mesh-based leveling systems use Z parameter to set the Z Fade Height.
The "current position" may change in response to M420 Sn.
M420 [S<bool>] [V<bool>] [Z<linear>]
[S<bool>] Set enabled or disabled. A valid mesh is required to enable bed leveling. If the mesh is invalid / incomplete leveling will not be enabled.
[V<bool>] Verbose: Print the stored mesh / matrix data
[Z<linear>] Set Z fade height (Requires ENABLE_LEVELING_FADE_HEIGHT)
With Fade enabled, bed leveling correction is gradually reduced as the nozzle gets closer to the Fade height. Above the Fade height no bed leveling compensation is applied at all, so movement is machine true.
Set to 0 to disable fade, and leveling compensation will be fully applied to all layers of the print.
Enable bed leveling:
Disable bed leveling:
Print the stored mesh/matrix data
Last updated
M420 S1M420 S0M420 V