So I have an AnyCubic i3 Mega which I added BLTouch v3.1 and Marlin (1.1.9 due to older, Atmega 8-bit CPU) using instructions and such from https://github.com/MNieddu91/Marlin-AI3M-BLTouch.

Finally got everything moving in the right direction, got the auto-bed leveling (bilinear) going (did a 7x7 grid), saved the mesh, tuned the bed and extruder PIDs. Great! Add the gcode into Cura to load the settings and activate the mesh.

Start the printing, goes to home fine, gets up to temp, and then it moves into position to start the print and it suddenly jumps up in Z-height above the bed several millimeters. I pause the printing via OctoPi, try and use the Control tab to adjust the height, not responding. Canceled the print. Used the M114 command to get the position.

Here it is after I hit cancel.

Recv: X:180.63 Y:171.85 Z:0.00 E:9.71 Count X:14450 Y:13748 Z:2120

Here it is after I use G28 to home

Recv: X:-5.00 Y:0.00 Z:0.00 E:9.71 Count X:-400 Y:0 Z:0

Here is the Start G-Code settings from Cura

G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
M501 ; bltouch mesh load
M420 S1 ; bltouch mesh load
G1 Z15.0 F{speed_travel} ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F{speed_travel}
G0 Y20 F{speed_travel}
M117 Printing...

It's almost like the Mesh Z-Offset is wrong. I do have a Probe Z Offset of -4.60, set via M851. I set this, and then I did G29 to re-do the ABL.

With me being new to ABL and Marlin, what did I forget? Maybe I did something wrong?


In some ways, this reminds me of the pain I went through recently. I am also fairly new to 3D printing.

After you have completed the bed levelling using G29 you should have a list of mesh coordinates showing in the interface with Octoprint. (I am using Pronterface, so am not all that familiar with Octoprint) You need to save the mesh coordinates to the control board. To do this enter M500 and then M503 to check that the data has saved. If you enter G28 after using G29, but without saving (M500) the coordinates will be discarded.

When you have set your Z offset, you also need to save that too (M500).

Unless you bed is warped, a 7 x 7 grid (mesh) is overkill. If you are printing on glass or better still, a mirror, a 3 x 3 grid should be enough. I have a 5 x 5 due to may warped bed.

Best of luck and have fun.

  • $\begingroup$ What is the benefit from a mirror to a sheet of (borosilicate) glass? Borosilicate glass deals much better with stress than normal glass. $\endgroup$ – 0scar Dec 23 '20 at 7:21
  • $\begingroup$ So, dunno what happened exactly, but through some additional rounds of ABL, and saving (M500) with some additional firmware writes, because I had to invert a few axis to get them to run right, it's running great now! $\endgroup$ – Drizzt321 Dec 24 '20 at 4:51
  • $\begingroup$ Mirrors tend to be very flat. $\endgroup$ – Ramblin' Sid Rumpo Dec 25 '20 at 0:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.