[2.0.x] different bltouch init#11135
[2.0.x] different bltouch init#11135thinkyhead merged 4 commits intoMarlinFirmware:bugfix-2.0.xfrom GMagician:2.0.x-bltouch-init-change
Conversation
Change to prevent error 999 on startup
|
Now error is not raised on startup, but I'm not able let it show in other situation. Address #11111 |
|
I'm not sure why the BLTouch needed to be extended and then retracted on startup, except to make sure that it knows to change its internal state to definitely be retracted. Perhaps if it's not extended first then it never knows to disable itself. Are you simply unable to generate an error state for testing? Maybe if you pulled the pin down while the probe is idle that would be enough to have it throw an error on reboot…? |
|
I tryed to lower pin when near to bed to put it in error state. |
On startup bltouch already does such sequence. I have to say that mine is not original and maybe I have to expect some "different" behaviour |
|
@thinkyhead ok test done. When in error it report triggered (if it is stowed or deployed. I stowed it manually) when I command home (it calls reset and stow) status change to open in both up or down position |
|
The only "error" we were really testing for — the one that this is aiming to fix for the startup test — is that the BLTouch is reporting "triggered" as soon as it's deployed. One simple workaround would be to just ignore this factor in …and in the init function just pass Would this leave the BLTouch in a weird state if the pin hits the build plate on startup? |
|
I noticed that with my code no error is raised when G29 is done. |
Yes, this is why I added some commands in G28 on a previous commit. A good choice should be to avoid deploy when not required and maybe test it the first time it is deployed... |
|
There might need to be extra error handling in some places. When the probe fails to deploy, |
|
I think this self explain why it doesn't stop... NAN is returned when probe fail but this will not stop G29 from going to next point |
|
Well, UBL's |
This fix a possible bltouch deploy missed fault after bump
|
In my opinion it works correctly. I don't use bltouch for homing so someone should test it. |
f454bf2 to
63f4c9b
Compare
|
@thinkyhead do you think a 1.1.x counterpart is required or 1.19 will born without this |
Stow probe before adjustment
Change to prevent error on startup