Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

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

    Scheduled Pinned Locked Moved
    Filament Monitor
    7
    9
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tom_lauermanundefined
      tom_lauerman
      last edited by

      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.

      1 Reply Last reply Reply Quote 1
      • brunofportoundefined
        brunofporto
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • gavatron3000undefined
          gavatron3000
          last edited by

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

          tom_lauermanundefined 1 Reply Last reply Reply Quote 0
          • tom_lauermanundefined
            tom_lauerman @gavatron3000
            last edited by

            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

            1 Reply Last reply Reply Quote 1
            • dc42undefined
              dc42 administrators
              last edited by

              You don't need the M581 command at all.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              tom_lauermanundefined 1 Reply Last reply Reply Quote 0
              • tom_lauermanundefined
                tom_lauerman @dc42
                last edited by

                @dc42 Many thanks! I will remove that line.

                1 Reply Last reply Reply Quote 1
                • theBohnanzaundefined
                  theBohnanza
                  last edited by

                  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

                  1 Reply Last reply Reply Quote 0
                  • ericraneundefined
                    ericrane
                    last edited by

                    @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.

                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @ericrane
                      last edited by

                      @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

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA