# Anet A6, Marlin 1.1.x, bed leveling with sensor probe

I have an Anet A6, an SN04 sensor for the Z-axis, and Marlin 1.1.x software that has automatic bed leveling enabled.

My question is (looking at the image below): "It seems my bed leveling is not working correctly. What can I do to improve it?"

You can see several things below:

• I tried to use glue to make the first layer adhere better.. works only for small prints;
• the middle part of the print is being done quite okay;
• the outer part are either too low or too high.

I used the following procedure to get my leveling "right":

First I set the z-offset with the M851 command, followed by M500. Then I performed the bed leveling with G29 T, followed by M500. Then I started my print.

Maybe I need more grid points for my bed leveling, even though I have this interpolation method on. Or do I need to check the implementation of the bed leveling, maybe something is just plain wrong in the software.

Current bed level status (M420 V)

Send: M420 V
Recv: Bilinear Leveling Grid:
Recv:     0     1     2     3     4     5
Recv: 0 +0.709 +0.609 +0.519 +0.456 +0.448 +0.404
Recv: 1 +0.525 +0.440 +0.370 +0.325 +0.304 +0.298
Recv: 2 +0.368 +0.282 +0.222 +0.177 +0.189 +0.182
Recv: 3 +0.221 +0.152 +0.100 +0.055 +0.069 +0.082
Recv: 4 +0.086 +0.020 -0.028 -0.060 -0.050 -0.020
Recv: 5 -0.027 -0.093 -0.138 -0.187 -0.163 -0.146

• It's almost 1 mm off according to the grid, I would start levelling the bed better. – 0scar Jan 24 at 16:12
• The whole bed is slanted by ca 0.7 on the front row and .5 on the back, and 0.3 from left to right at the top, -0.1 on the bottom. That screams "relevel!" – Trish Jan 24 at 16:29
• @Trish but wait... shouldnt this bed level thing compensate for the skewness?? – zwep Jan 24 at 17:10
• Yes it will, bit still you need to deliver a bed as level as possible, this bed needs manual levelling. Automatic levelling is not magic, if the bed is not level your prints don't have a straight bottom and are skew. It levels out in about 10 mm, depending on firmware settings. – 0scar Jan 24 at 18:47
• @0scar ah thanks. But if it does correct for it.. then how come this first layer is not properly corrected? Currently my thought is that maybe the correction matrix is used in a 'transposed' way. A reason I could think of was that the bed leveling starts in the bottom right corner, but my bed origin is in the bottom left. Of course a simple correction can be made for that, but I cannot check for now if it does – zwep Jan 25 at 8:10