Notifications
Clear all

How to retrieve bed leveling data?  

  RSS
swiftbow
(@swiftbow)
Eminent Member
How to retrieve bed leveling data?

I was looking at at website that gives a surface map of the beds level. It says to just execute G29 and paste results on the website. I wish they gave more instructions as I don't understand what this means and how to to do it? Could someone please help me with how can I get this mesh data? Seems like with this data, could even use Excel's surface map plot to visualize?

This is the weblink of the site I'm referencing:
http://lokspace.eu/3d-printer-auto-bed-leveling-mesh-visualizer/

Opublikowany : 22/03/2019 9:10 pm
michael.c110
(@michael-c110)
Eminent Member
Re: How to retrieve bed leveling data?

I believe g29 is a gcode command so you will need to connect your printer to the computer

Opublikowany : 22/03/2019 9:29 pm
K7ZPJ
(@k7zpj)
Reputable Member
Re: How to retrieve bed leveling data?


I was looking at at website that gives a surface map of the beds level. It says to just execute G29 and paste results on the website. I wish they gave more instructions as I don't understand what this means and how to to do it? Could someone please help me with how can I get this mesh data? Seems like with this data, could even use Excel's surface map plot to visualize?

This is the weblink of the site I'm referencing:
http://lokspace.eu/3d-printer-auto-bed-leveling-mesh-visualizer/

For the MK3, you use G81 instead of G29 to retrieve the bed leveling information.

To execute a gcode command manually you need to connect your computer to the printer and use the terminal in the Pronterface application.

Here is the link with the instructions on how to get started with Pronterface. https://help.prusa3d.com/article/DwHkqtdCFf-usb-cable-and-pronterface

The terminal is located in the lower right corner of the application.
You type in the commands on the line by the send button and press the button to send.

Opublikowany : 22/03/2019 10:15 pm
swiftbow
(@swiftbow)
Eminent Member
Topic starter answered:
Re: How to retrieve bed leveling data?

Thank you Michael but the g29 code doesn't do anything but give an error message.

Opublikowany : 23/03/2019 12:08 am
swiftbow
(@swiftbow)
Eminent Member
Topic starter answered:
Re: How to retrieve bed leveling data?

Bruce ... Thank you so much! That worked perfectly. How did you know the correct code?

This is the report from pronterface looking first at the level at room temperature, 18C and then at 60C.

18C
>>>g81
SENDING:G81
Num X,Y: 7,7
Z search height: 5
Measured points:
0.30800 0.32750 0.34650 0.34500 0.35650 0.34000 0.31150
0.25800 0.27950 0.25800 0.22800 0.25050 0.25650 0.17300
0.22900 0.24650 0.20300 0.18700 0.15950 0.14650 0.04400
0.19950 0.19800 0.15700 0.15750 0.10437 0.04250 -0.05300
0.25000 0.24550 0.16200 0.12187 0.05800 0.00800 -0.12200
0.25400 0.24150 0.16000 0.11000 0.03950 -0.04650 -0.17600
0.23500 0.17800 0.12400 0.04900 -0.00100 -0.08400 -0.19900

60C
>>>g81
SENDING:G81
Num X,Y: 7,7
Z search height: 5
Measured points:
0.20600 0.30650 0.36250 0.39150 0.36400 0.28200 0.14650
0.22200 0.33450 0.35950 0.35200 0.34350 0.28900 0.12850
0.27400 0.36250 0.36650 0.34363 0.31150 0.24300 0.05450
0.27150 0.34550 0.34400 0.34450 0.26087 0.15900 -0.04150
0.29600 0.37500 0.33750 0.28587 0.22850 0.10800 -0.12550
0.24700 0.31600 0.27750 0.23300 0.14200 -0.00100 -0.24550
0.10750 0.16550 0.14750 0.07800 -0.00450 -0.15350 -0.38500

Opublikowany : 23/03/2019 12:12 am
K7ZPJ
(@k7zpj)
Reputable Member
Re: How to retrieve bed leveling data?


Bruce ... Thank you so much! That worked perfectly. How did you know the correct code?


You can find all of the implemented gcodes in the firmware file Marlin_Main.cpp : https://github.com/prusa3d/Prusa-Firmware/blob/MK3/Firmware/Marlin_main.cpp The gcode definition starts at about line 3226. Notepad++ works good to view the file if you are a Windows user.

Here is a good starting tutorial on how to read/use gcode: https://all3dp.com/g-code-tutorial-3d-printer-gcode-commands/
Knowing the basics can really help troubleshooting slicer/print problems.

Happy printing.

Opublikowany : 23/03/2019 1:33 am
swiftbow
(@swiftbow)
Eminent Member
Topic starter answered:
Re: How to retrieve bed leveling data?

Very much appreciate the links and help, Bruce. Good info!

Opublikowany : 23/03/2019 10:33 pm
Share: