Welcome! Log In Create A New Profile

Advanced

Bed probing implemented?

Posted by TopherMan 
Bed probing implemented?
November 26, 2012 02:14PM
I was looking through G codes, and I noticed the block G29-G32, the bed probing/leveling commands. I was looking through Marlin and Teacup, and it seems they have not implemented them. Is there any firmware (experimental or not) that has implemented G32 so that it probes the bed and adjusts the print so that it automatically prints onto the almost-level bed? The commercial machine I've used at work does this, and it seems like it would be handy.

Thanks!
Re: Bed probing implemented?
November 27, 2012 07:40AM
There's a blog entry in nophead's HydraRaptor blog showing how it's done. For implementing it in Teacup, look at line 638ff in dda.c. There you can pick up the motor steps done (or remaining) when an axis is stopped by an endstop.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Bed probing implemented?
November 27, 2012 02:12PM
There is a version of Marlin modified to work with a Z probe here: [www.matterhackers.com]

I haven't tried it myself yet.


[www.hydraraptor.blogspot.com]
Re: Bed probing implemented?
November 27, 2012 03:26PM
Excellent, thank you guys. There are so many variants and offshoots of the firmwares that I have trouble finding the exact flavor I need. Hopefully in a few years I will be as good as you two at pretending I know what I'm doing ;-)

Now, just a few modifications and I think I can get that to work on my Prusa.
Re: Bed probing implemented?
June 29, 2013 01:46PM
anyone else get this working?....i am trying to add it to my TAZ.

looks easy enough, but where are the coordinates for the XY position of the 3 probing points stored? in the firmware somewhere? or do you just use g code to go to each point?
Re: Bed probing implemented?
June 29, 2013 01:53PM
I used it for a bit, then made some changes to my machine that meant the probing was no longer necessary. I used [github.com], and under Configuration.h lines 244-262 you can set where the probing occurs, where the probe is relative to the extruder, and whether it should do a dance to lower the probe or not.

Hope that helps!
Re: Bed probing implemented?
June 29, 2013 06:43PM
Thanks,

I have never used github before....gotta figure out how to download all those files.
Re: Bed probing implemented?
June 29, 2013 07:39PM
Use the download as Zip button if you want to download a whole project.


[www.hydraraptor.blogspot.com]
Re: Bed probing implemented?
July 03, 2013 04:29PM
got it downloaded, modified, and working (at least dry runs).
but it looks like G29 is the code to use, not G32. Maybe the description is messed up.

G29-G32: Bed probing
G29 Detailed Z-Probe
probes the bed at 3 points.
G30 Single Z Probe
probes bed at current XY location.
G31 Report Current Probe status
reports whether Z probe is triggered.
G32 Probe Z and calibrate with FPU
probes the bed at 3 points and updates transformation matrix for bed leveling compensation.

What is the point of G32 if G29 does the same thing? Or is G32 used to turn off and on the matrix?
Re: Bed probing implemented?
July 08, 2013 09:52PM
It works....

some pics (and video) of the retractable probe and info here:
[forum.lulzbot.com]

Edited 1 time(s). Last edit at 07/08/2013 10:09PM by 1013.
Re: Bed probing implemented?
July 09, 2013 07:59AM
Quote

What is the point of G32 if G29 does the same thing?

Friends of Marlin typically judge the quality of the firmware by the feature count. The more features, the better, even if this means duplicate ones.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Bed probing implemented?
July 10, 2013 01:18PM
1013: where are you seeing G32? I only see G29 in the firmware you linked to.

[github.com]
Re: Bed probing implemented?
July 10, 2013 03:13PM
jebba Wrote:
-------------------------------------------------------
> 1013: where are you seeing G32? I only see G29 in
> the firmware you linked to.
>
> [github.com]
> ed_Level

It's listed here:
[reprap.org]

BTW, where in the firmware (which .h file) is the actual G29, and other G codes for that matter?

Edited 1 time(s). Last edit at 07/10/2013 03:14PM by 1013.
Re: Bed probing implemented?
July 14, 2013 01:48PM
Just uploaded the files.

[www.thingiverse.com]
Sorry, only registered users may post in this forum.

Click here to login