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



  • @dc42

    Would this explain why my board appears to shut off completely when I attach my filament detector?

    I'm running an AdimLab Gantry V2 and just upgraded to the Duet Wifi. Everything is working beautifully, but when I attached the filament detector the lights won't turn on when I power the board.



  • @ericrane Please start a new thread for your issue. It isn't related to the issue described by the original poster, which is over a year old. Please see the post here about how to ask for support, eg details required etc. https://forum.duet3d.com/topic/5909/guide-for-posting-requests-for-help

    Make sure you say which filament sensor do you have. Most likely, it's your wiring. Either it's connected incorrectly, or the wiring is faulty (poorly crimped terminals). Check continuity on the wires. Post your config.g so we can see how it is set up.

    But please start a new thread, do not reply to this one.

    Ian


Log in to reply