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

Comments

  • You could implement the test in firmware and request a stop print in that case. For repetier-firmware the server has in it's firmware this stop definition:

        <response type="stopPrint">RequestStop:</response>

    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.

Sign In or Register to comment.