📅Update: 2020/10/13
Mesh Bed Leveling (MBL) allows interactively measuring a Z height mesh without a bed probe. The only tool required is a piece of paper or a feeler gauge. MBL uses the mesh to compensate for variations in height across the bed.
Use G29 S0
to get the current status and mesh. If there’s an existing mesh, you can send M420 S1 to use it.
Use G29 S1
to move to the first point for Z adjustment.
Adjust Z so a piece of paper can just pass under the nozzle.
Use G29 S2
to save the Z value and move to the next point.
Repeat steps 3-4 until completed.
Use M500
to save the mesh to EEPROM, if desired.
Requires the MESH_BED_LEVELING
option in Configuration.h
.
G29
[I<index>]
[J<index>]
S<0|1|2|3|4|5>
[X<count>]
[Y<count>]
[Z<linear>]
[I<index>]
With S3, the (0…n-1) X index of the mesh value to modify.
[J<index>]
With S3, the (0…n-1) Y index of the mesh value to modify.
[S<0|1|2|3|4|5>]
S0: Produce a mesh report (see examples below).
S1: Start probing mesh points.
S2: Probe the next mesh point.
S3: Manually modify a single point with X Y Z parameters. (See also M421.)
S4: Set a global Z offset. Positive values are away from the bed; negative values are closer.
S5: Reset and disable mesh.
S0 mesh report:
> G29 S0Num X,Y: 3,3Z offset: 0Measured points:0 1 20 +0.011 -0.020 -0.0261 +0.017 +0.002 -0.0192 +0.022 -0.030 -0.013
Modify some mesh points and view the new mesh:
> G29 S3 I2 J2 Z0.042> G29 S3 I1 J1 Z-0.666> G29 S03x3 mesh. Z offset: 0Measured points:0 1 20 +0.011 -0.020 -0.0261 +0.017 -0.666 -0.0192 +0.022 -0.030 +0.042