-
Notifications
You must be signed in to change notification settings - Fork 3
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
Probe Deploy (M401) and Stow (M402) #33
Comments
Hi, thanks for the report. I'm not quite sure what's going on here, but I think I could easily implement a "Do this before starting" and "Do that after completeing" with custom GCode. Maybe that would also solve #31. Btw:
That should not happen. AutoBim should not probe the complete mesh. See https://github.com/j-be/AutoBim#what-is-supposed-to-happen for further detail. You might be having UBL enabled, but AutoBim failed to detect it. Be sure to double-check AutoBim's settings match your firmware configuration. |
I have BILINEAR enabled. Autobim has always done the initial mesh before starting. Even before with the BLTouch setup. |
That is very weird. The plugin does:
but at no point does it invoke a plain So what I think is happening here is that for some reason AutoBim detected UBL on first run and now goes for So be sure to check AutoBim's settings - i.e. |
Actually, according to that link, D is defined as Dry-Run mode. Just probe the grid but don’t update the bed leveling data. I will check that setting… Likely my mistake. |
So as it turns out the Unified Bed Leveling setting was the whole problem! It now Deploys and Stows. The problem is that it goes through this procedure with every probe! While watching the printer stow and deploy between each probe might be mildly entertaining when the bed is already tramed, it can be a real PIA between adjustments. |
I see, that is what I would have expected to begin with. I just released |
M401 and M402 are unnecessary. AutoBim effectively deploys prior to each probe and stows immediately afterward. This is a problem because it make it very slow and difficult to make the adjustments as it’s executing the next probe. With a little experimentation, I’ve discovered that if I probe a point using G30 with the additional parameter ‘E0’, it will probe without stowing afterward. It also doesn’t raise the probe afterward, so a ‘G0 Z15’ is necessary before executing the next probe command. I would try it in your code, but I have no experience with Java programming and aren’t sure how to test this.
… On Apr 13, 2022, at 11:38 AM, Juri Berlanda ***@***.***> wrote:
I see, that is what I would have expected to begin with.
I just released v0.2.3 which adds support for custom GCodes before and after each run. Now I hope Marlin is smart enough to keep state, i.e. it does not stow the probe if it was manually deployed before the first G30. Would you mind testing adding a M401 before and a M402 after?
—
Reply to this email directly, view it on GitHub <#33 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACNM7ZVPSCFL2W624VAH34DVE4IAVANCNFSM5TBZJBHA>.
You are receiving this because you authored the thread.
|
It is not so much what AutBim does - the plugin just tells Marlin Malin now goes "let me deploy, probe, and stow it again". I hoped, that maybe if we tell Marlin "deploy" (i.e. Could you please check if that is the case, i.e. does Marlin stow the probe after |
I tried that. G30 will stow unless the option E0 is used.
… On Apr 14, 2022, at 12:29 AM, Juri Berlanda ***@***.***> wrote:
It is not so much what AutBim does - the plugin just tells Marlin G30 and waits for the response.
Malin now goes "let me deploy, probe, and stow it again". I hoped, that maybe if we tell Marlin "deploy" (i.e. M401) and then tell it G30 it would go "you told me to deploy, so I'm gonna probe and leave the probe deployed".
Could you please check if that is the case, i.e. does Marlin stow the probe after G30 even if a M401 was added to the "Before" GCode?
—
Reply to this email directly, view it on GitHub <#33 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACNM7ZVGOXR4MSMEPBPWK53VE7CMDANCNFSM5TBZJBHA>.
You are receiving this because you authored the thread.
|
Damn, I still had hope... Anyway, I'll see what I can do. I'll be on vacation next week, so not sure if I'll have any time for it. But I'll try to put together something that will work for probes like yours. I'll keep you updated 😄 |
I think I found a way to easily implement this. I pushed a preview of the feature to @adsaxton Could you please test it? To install, open OctoPrint's Settings and go to "Plugin Manager". There click on the "Get More" button on the top right, and under "... from URL" paste the following link After that, you should have a new section in AutoBim's settings, like: And don't forget to add the |
This solution worked perfectly! Leveling took three passes to complete. Thank you!
|
That is excellent news 😃 I just released Happy printing 😄 |
Description
AutoBim does not deploy ABL before probing
Steps to reproduce
When using probe such as the Allen Wrench type probe simply starting AutoBim will probe the mesh normally, deploying and stowing afterward. It will then proceed to attempt to probe the first corner without deploying the probe and fail.
Expected outcome
For it to deploy the probe, execute the process and stow when finished.
Actual outcome
As above in "Steps to reproduce"
Environment (leave empty if unknown or not relevant)
For UI issues a screenshot always helps.
Feature
Add option to insert M401 before procedure and M402 after it's done.
Please note by far the quickest way to get a new feature is to file a Pull Request.
Just describe what you would like AutoBim as detailed as you can.
Question
Make sure your question is not covered by the Troubleshooting section.
Else: just fire away. But keep in mind: the more detail, the easier it is to answer 😃.
The text was updated successfully, but these errors were encountered: