filament out detector, can I pause rather than emergency stop?



  • Hello,

    I am using a syringe extruder and am setting up a simple endstop to try and pause the print when the "filament" (material in syringe) is out. Everything is working well except when the endstop is triggered, it sends an emergency stop, rather than a pause. How can I specify a pause. Here is the code I'm using:

    ; Material Out Trigger
    M581 E0 S1 T0 C0
    M591 D0 P1 C3 S1 ; Duet3D simple sensor for extruder drive 0 is connected to E0 endstop input, enabled,
    M591 D0 ; display filament sensor parameters for extruder drive 0

    Im using a simple mechanical endstop connected to the E0 endstop socket.

    Apologies if this has been addressed elsewhere, I couldn't find this exact issue in my searches.



  • Nice! 😄 I'll follow - @token47 this is interesting.



  • do you need the M581 if M591 is monitoring the "filament". also whats the trigger macro doing?



  • OK, I figured out my mistake - I needed to have the trigger set to 1, rather than 0. This is now doing exactly what I want it to do, pause when the endstop is triggered by the plunger reaching the end of the syringe:

    ; Material Out Trigger
    M581 E0 S1 T1 C0
    M591 D0 P1 C3 S1 ; Duet3D simple sensor for extruder drive 0 is connected to E0 endstop input, enabled,
    M591 D0 ; display filament sensor parameters for extruder drive 0


  • administrators

    You don't need the M581 command at all.



  • @dc42 Many thanks! I will remove that line.



  • Hello,
    I have a very simillar setup, but i have a feature, which lets me refill the Syringe automatically.
    The Piston just has to move up to the start position. Now how can i move it up, without changing the coordinate position?

    I have been testing with M120 and M121, but i feel like i have been misunderstanding, what it does.
    @tom_lauerman how do you continue printing after refilling your syringe?

    Cheers,
    Alex


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.