Triggerable abort on pinchange/endstop
Hello,
we are currently working on unifying our institutes printing process. For this we are hooking up our cheap prusa printers (who give suprisingly good results) to a repetiert server (based on a rpi 2). The current problem is, that it could happen that someone triggers a print even when there is still a part inside. For this purpose i would like to add a starting script that checks if there is still a part inside by driving the platform through a light barrier befor every print. If the light barrier is triggered the print should abort. This feature however has to be deactivated when the print starts.
Has anyone an idea how to archive this?
Best regards
Christian Pommer
we are currently working on unifying our institutes printing process. For this we are hooking up our cheap prusa printers (who give suprisingly good results) to a repetiert server (based on a rpi 2). The current problem is, that it could happen that someone triggers a print even when there is still a part inside. For this purpose i would like to add a starting script that checks if there is still a part inside by driving the platform through a light barrier befor every print. If the light barrier is triggered the print should abort. This feature however has to be deactivated when the print starts.
Has anyone an idea how to archive this?
Best regards
Christian Pommer
Comments
In marlin there is no such entry, but you can add one.
What this means is if firmware send in response a line containing
"RequestStop:"
it should stop the running print process.