Marlin 1.1.5 Saving Bed Leveling Data

Software and Firmware Discussion - related to source code, firmware updates, etc.
Post Reply
User avatar
Roberts_Clif
Reactions:
Posts: 1372
Joined: March 25th, 2017, 8:17 am
Location: Washington, State USA
3D Printer(s): Hictop 3DP11/12

Marlin 1.1.5 Saving Bed Leveling Data

Post by Roberts_Clif »

Marlin 1.1.5 Saving Bed Leveling Data

To Level bed we use " G29 ", M500 to save the Data to EEProm.

After Bed data is saved you request Bed Leveling be turned on.
you add the command " M420 S1 " after last " G28 " in Start G-Code.

M420: Enable/Disable Bed Leveling and/or set the Z fade height.
S[bool] Turns leveling on or off
Z[height] Sets the Z fade height (0 or none to disable)
V[bool] Verbose - Print the leveling grid

G28
X:100.00 Y:110.00 Z:10.50 E:0.00 Count X:8000 Y:8800 Z:16800
G29
My Bi-Linear Bed Data ; Wow bed is not as level as I thought.
< ----0--------1---------2
< 0 -0.123 +0.082 +0.095
< 1 -0.260 +0.002 +0.017
< 2 -0.025 -0.025 -0.160


Restart 3D Printer
My Bi-Linear Bed Data
> G28
< X:100.00 Y:110.00 Z:10.50 E:0.00 Count X:8000 Y:8800 Z:4200
> M420 V ;Send a M420 V ; Print the leveling grid
< Bilinear Leveling Grid:
< ----0--------1---------2
< 0 -0.123 +0.082 +0.095
< 1 -0.260 +0.002 +0.017
< 2 -0.025 -0.025 -0.160
< echo:Bed Leveling Off
< echo:Fade Height Off
> M420 S1
< echo:Bed Leveling On
< echo:Fade Height Off

Just an FYI
Last edited by Roberts_Clif on October 1st, 2017, 7:41 am, edited 3 times in total.
ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Re: Marlin 1.1.5 Saving Bed Leveling Data

Post by ieatacid »

Wow, this is great! I was wondering if there was something like this but never got around to looking into it. Thanks!
ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Re: Marlin 1.1.5 Saving Bed Leveling Data

Post by ieatacid »

This says it will only load a saved mesh if you have unified bed leveling enabled. Is that what you use? I've been using bilinear, so it looks like I'll have to switch to UBL to use this.
User avatar
Roberts_Clif
Reactions:
Posts: 1372
Joined: March 25th, 2017, 8:17 am
Location: Washington, State USA
3D Printer(s): Hictop 3DP11/12

Re: Marlin 1.1.5 Saving Bed Leveling Data

Post by Roberts_Clif »

No I save My Bi-Linear Grid and restore it using Marlin 1.1.X
// Changed to a 4 x 5 Grid for testing Bed level data saving for this POST.
// Bed leveling has to be turned back on before every Print after auto homing.

// I did not realize this but I must have saved with one of the other methods.
// It appears that G29 some commands do not work with Bi-linear.
// M500 or Push the " Store Settings " menu item, but the Data is being saved and reused
// working G29 commands for Bi-Linear
//[B<linear>] Set the back limit of the probing grid
//[F<linear>] Set the front limit of the probing grid
//[L<linear>] Set the left limit of the probing grid
//[R<linear>] Set the right limit of the probing grid
//[S<rate>] Set the XY travel speed between probe points


G28
G29
< Bilinear Leveling Grid:
< ----- 0------ 1------ 2------ 3
< 0 -0.356 -0.059 -0.136 -0.213
< 1 -0.023 +0.054 -0.085 -0.240
< 2 +0.083 +0.053 -0.087 -0.250
< 3 +0.084 -0.025 -0.133 -0.258
< 4 -0.001 -0.170 -0.236 -0.311
< X:198.00 Y:220.00 Z:10.74 E:0.00 Count X:15840 Y:17600 Z:16800
> M420 S1
< echo:Bed Leveling On
< echo:Fade Height Off
M500 or Push the " Store Settings ".

Video is a little jerky



Just knowing you can save a Bi-linear grid an recover it saves time
Post Reply

Return to “Software and Firmware Discussion”