Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

G29's parameters not working correctly #5508

Closed
yonkiman opened this issue Dec 15, 2016 · 7 comments
Closed

G29's parameters not working correctly #5508

yonkiman opened this issue Dec 15, 2016 · 7 comments

Comments

@yonkiman
Copy link

I'm able to perform a bed calibration on my delta with a simple G29 and I get a mesh report at the end. Everything seems to be working perfectly.

But if I try G29 with any of the switches (G29 S0 or G29 S4 Z0.05 or G29 S1), the motors start singing and the carriage starts moving across the Z plane incredibly slowly until I reset the CPU. Am I perhaps misunderstanding G29 usage?

@yonkiman
Copy link
Author

yonkiman commented Dec 15, 2016

OK, I have a little more clarity on this. In the ~2-3 year old version of Marlin I had been using, I would adjust Z offset with "G29 R0.05", "G29 R-0.05", etc. That doesn't work with Marlin 1.1.0. The only Z offset adjustment I could find in 1.1.0 was "G29 S4 xxx", which doesn't work - just sends the carriage slowly off into the sunset (that's the bug).

Is there a different command I should be using to adjust Z offset?

EDIT: Duh, it's M851.

There's still a bug with M29, though: My delta, with AUTO_BED_LEVELING_BILINEAR enabled and apparently working, responds incorrectly to an "M29 Sx" command. I believe that command should be ignored if MESH_BED_LEVELING is not enabled.

@fiveangle
Copy link
Contributor

fiveangle commented Dec 16, 2016

G29 when ABL enabled is:

[S<rate>] - Set the XY travel speed between probe points

http://marlinfw.org/docs/gcode/G29.html

@fiveangle
Copy link
Contributor

If you submit G29 Sn where n=XY_PROBE_SPEED in your Configuration.h, does it work correctly ? (also, I assumed you didn't mean "M29 - Stop SD write."

@yonkiman
Copy link
Author

yonkiman commented Dec 16, 2016

Thanks for the pointer to the more complete documentation. And the laugh: I was setting movement speed to 1mm/min and it was doing exactly what I asked it to do!

So there's no ABL equivalent of MBL's G29 S4? I was expecting to be able to do an ABL and then do a single "Adjust Z so a piece of paper can just pass under the nozzle" (from the MBL docs) to account for any variation in probe-to-nozzle distance. Is the assumption with ABL that the probe-to-nozzle distance will be perfect in Configuration.h and never change over time? Not sure how ABL is supposed to get that right...

Nomenclature-wise, I think it's a little confusing that the choices are Auto BL or Mesh BL, yet ABL_BILINEAR produces a mesh. Also is there a difference between Manual Bed Leveling and Mesh Bed Leveling (they seem a little conflated in http://marlinfw.org/docs/gcode/G29-mbl.html), and does the MBL acronym apply consistently to one or the other?

If you submit G29 Sn where n=XY_PROBE_SPEED in your Configuration.h, does it work correctly?

Will try tomorrow. But ABL seems to work perfectly (at what seems like XY_PROBE_SPEED) when I submit G29 with no arguments, so I suspect G29 Sn where n=XY_PROBE_SPEED will work the same.

@yonkiman
Copy link
Author

Yes, G29 S4000 started a normal ABL. So there's no apparent issues with the code, just my understanding of the G29 command and exactly how ABL is supposed to be set up...

@fiveangle
Copy link
Contributor

I suspect once UBL gets fleshed out, code will collapse to UBL with an auto and manual method for inputs. All in good time…

To answer your nozzle height question: review M851

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants