Page 1 of 1

Alert for endstop trigger during print

Posted: Mon Nov 07, 2016 3:00 am
by Guido Campanini
This is the result of a fault overnight
This is the result of a fault overnight
This is my first post.
This night my printer had a fault during a very long print: the printing plate (Z xis) fell down (belt broken?).
Meanwhile the printer continued to extrude material until the end of the part.

THE NEW FEATURE:
If an end_of_stroke microswitch occurs unexpectedly during a print, the printer stops immediately (and maybe an alarm triggers in some way)

This at least saves the printing material!

Re: Alert for endstop trigger during print

Posted: Mon Nov 07, 2016 4:48 am
by CompoundCarl
Sounds like a good idea, but it would need to be in the firmware (not the software). The firmware is what is detecting the endstop microswitches, and it's already what stops movement in that direction if a switch is triggered. So there is already some logic that runs on the firmware when a switch is triggered. You would just need to add the custom code you want there for sounding an alarm or pausing the print