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

Using StallGuard for limit probing #10

Open
spitzbubchen opened this issue Apr 14, 2021 · 1 comment
Open

Using StallGuard for limit probing #10

spitzbubchen opened this issue Apr 14, 2021 · 1 comment

Comments

@spitzbubchen
Copy link

I have the Duet3D board and I am wondering if this wrapper allows homing/centering using StallGuard? Basically I would like to move the actuator to one end (point A) and detect the limit position with StallGuard, then move to the other end (point B) to get the other position, and finally move to the center (B - A)/2.

@AndyEveritt
Copy link
Owner

I believe this would be possible, although I haven't tried it.

https://duet3d.dozuki.com/Wiki/Stall_detection_and_sensorless_homing

I would try just sending the gcode command you would normally in DWC and see if the Duet returns a meaningful response when the stall occurs (my guess is it doesn't). If no response is sent, then you could repeatedly poll the object model (OM) of the printer until it is "idle" (ie a stall has happened and the printer has stopped moving), then read the xyz position from the OM.

There is probably a better solution but this would be my first approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants