Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Filament runout follow up

    General Discussion
    2
    9
    1118
    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.
    • namlecnc
      namlecnc last edited by

      I have seen this thread
      https://forum.duet3d.com/topic/4699/are-you-using-a-filament-sensor-with-your-duet/6
      It’s actual what I want to do as someone mentioned m581

      Do I have to insert m581 m582 in a particular order ? In config.g?

      Can someone share what it should look like?

      I'm trying a simple sensor with m591 and got nothing...

      The original post is locked so I have to make a new thread to ask.

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

        Filament sensors should be configured using M591 now. The M581/M582 method was what we suggested before we introduced M591.

        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

        1 Reply Last reply Reply Quote 0
        • namlecnc
          namlecnc last edited by

          I have a simple sensor. A micro switch wired to be NC, so when filament is present , the switch would be open.

          I have this
          M591 D3 P2 C3 S1 ; E-0 watcher
          M591 D4 P2 C4 S1 ; E-1 watcher

          I had D0 and D1 before but nothing happened. Where & how should I input this in my config?

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

            You should use D0 and D1. That line can go anywhere in config.g but I suggest towards the end. As your switch is NC, it will give a High signal when filament is present, so you should use P1 not P2.

            You can check what the filament sensor is reporting by sending M591 D0 or M591 D1 with no other parameters.

            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

            1 Reply Last reply Reply Quote 0
            • namlecnc
              namlecnc last edited by

              It just said simple filament sensor on endstop4 , disable, output liw when no filament

              Nothing really change whether filament is in or not.

              What does it actually do? Does it trigger a stop?

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

                I've just checked the code and you are right, the M591 report doesn't include whether the sensor is reporting filament present or absent. I'll fix that in the forthcoming 2.02RC5 release. Meanwhile, the M122 report does include the filament present/absent status.

                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

                namlecnc 1 Reply Last reply Reply Quote 0
                • namlecnc
                  namlecnc last edited by

                  I’m on 2.0 can i still use M581? It keeps throwing it to Emergency Stop.

                  All I need it tot do:
                  Filament present : print goes on normally
                  Filament absent: trigger pause , wait for filament, purge

                  Similar to M600 in Marlin

                  Thanks

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

                    @dc42
                    I’m on 2.0 can i still use M581? It keeps throwing it to Emergency Stop.

                    All I need it tot do:
                    Filament present : print goes on normally
                    Filament absent: trigger pause , wait for filament, purge

                    Similar to M600 in Marlin

                    Do I need to rewrite pause.g with M701 and M702 ?

                    Thanks

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

                      You should use M591 as I said before. Use M122 to read back the status of your filament sensor while testing it.

                      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

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