-
Notifications
You must be signed in to change notification settings - Fork 8
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
trinamic: StallGuard based crash safety #12
Comments
Acceleration/cruising mode transitions can be detected by hooking into
Marlin style M-codes are available for that. You may also bypass M-code parsing by calling the Trinamic driver interface directly, this since injecting M-code commands is only possible when the controller is in Idle state. Natively supported would mean you'll have to write a plugin to accomplish this. |
It would be great if we could utilize Trinamic's feature set for some safety, namely:
G0
or jogging should require much less than steel milling).(Just some ideas.)
Exceeding these thresholds (triggering StallGuard) would result in an E-stop (or something equivalent, doing
M5
, disabling theEN
motor driver pins, etc.).This is something I'm considering doing on a standalone Arduino (probably with a potentiometer for the current / SG setting), but it would be better to have it natively supported as it could integrate with motion planning more closely.
The use case is mainly for teaching CNC programming to students / novices and minimizing the damage caused by them. :)
Thanks!
The text was updated successfully, but these errors were encountered: