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

    Filament Runout Sensor

    Scheduled Pinned Locked Moved
    General Discussion
    2
    8
    428
    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.
    • SonnyD1undefined
      SonnyD1
      last edited by SonnyD1

      I cannot seem to get my filament runout sensor to work on my IDEX. I am running a Duet 2 WIFI/Duex5 with a simple switch purchased from here:

      https://www.amazon.com/Creativity-Printer-Filament-Detection-Detecting/dp/B087325BPG?pd_rd_w=i1Mxx&content-id=amzn1.sym.724fac2e-0491-4f7a-a10d-2221f9a8bc9a&pf_rd_p=724fac2e-0491-4f7a-a10d-2221f9a8bc9a&pf_rd_r=BF869218EYJ0ZC31PK4J&pd_rd_wg=8W884&pd_rd_r=ffe67b47-8739-41aa-8853-6f8f9e62661c&pd_rd_i=B087325BPG&psc=1&ref_=pd_bap_d_grid_rp_0_38_t

      Here are some pictures showing how I have it wired. With its current wiring, the LED on the Duet2 board lights up when there is NO filament present. The LED on the switch lights up when filament is present.

      IMG_3584.jpg

      IMG_3585.jpg

      IMG_3588.jpg

      IMG_3589.jpg

      Here is the endstop/runout sensor section of my config.g:

      ; Endstops
      M574 X1 S1 P"e1stop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin e1stop
      M574 U2 S1 P"duex.e6stop" ; configure switch-type (e.g. microswitch) endstop for high end on U via pin exp.e6stop
      M574 Y1 S1 P"duex.e5stop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin exp.e5stop
      M574 Z1 S2 ; configure Z-probe endstop for low end on Z
      M591 D0 P2 C"xstop" S0 ; configure filament monitor (simple switch) for E0
      M591 D1 P2 C"duex.e4stop" S0 ; configure filament monitor (simple switch) for E1

      What do i need to do to fix them so they operate as intended? If I have left out any necessary information, I apologize. Please do not hesitate to ask any questions or for more information.

      Phaedruxundefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator @SonnyD1
        last edited by

        @SonnyD1 said in Filament Runout Sensor:

        I cannot seem to get my filament runout sensor to work on my IDEX.

        What does and does not work at the moment?

        The S0 on the M591 command disables the monitor, are you enabling it during a print?

        Z-Bot CoreXY Build | Thingiverse Profile

        SonnyD1undefined 1 Reply Last reply Reply Quote 0
        • SonnyD1undefined
          SonnyD1 @Phaedrux
          last edited by

          @Phaedrux No I'm not. That has to be the issue. I'm confused though. The dictionary says that S0 is the default. Why would disabling it be the default? And is says S1 is for printing from SD card which I am not. What should it be?

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @SonnyD1
            last edited by

            @SonnyD1 said in Filament Runout Sensor:

            nd is says S1 is for printing from SD card which I am not.

            Yes you most likely are. If you upload your gcode file to DWC manually or from the slier, it's stored locally on the SD card. If it's in SBC mode, it's on the SD card of the SBC. The only alternative is streaming the gcode commands over USB such as with OctoPrint, etc, which is not supported. Is that what you're doing?

            @SonnyD1 said in Filament Runout Sensor:

            Why would disabling it be the default?

            Well if you have multiple tools you may only want the selected tool to be enabled.

            Z-Bot CoreXY Build | Thingiverse Profile

            SonnyD1undefined 1 Reply Last reply Reply Quote 0
            • SonnyD1undefined
              SonnyD1 @Phaedrux
              last edited by SonnyD1

              @Phaedrux

              Well if you have multiple tools you may only want the selected tool to be enabled.

              Ok I understand now. Gonna make the change and test it out. Should I only enable the T0 in the config.g for single extruder printing and enable the T1 with "M591 D1 S1" in startup gcode on my dual profile in the slicer for dual printing? Would that work?

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                You can also use the Duet tool change files (tpre.g tpost, etc) and enable and disable that way.

                Z-Bot CoreXY Build | Thingiverse Profile

                SonnyD1undefined 1 Reply Last reply Reply Quote 0
                • SonnyD1undefined
                  SonnyD1 @Phaedrux
                  last edited by

                  @Phaedrux said in Filament Runout Sensor:

                  You can also use the Duet tool change files (tpre.g tpost, etc) and enable and disable that way.

                  How would I do that specifically?

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    See here: https://docs.duet3d.com/en/User_manual/Tuning/Tool_changing

                    When you switch to a tool you would want to enable the monitor. When you switch away from a tool you would want to disable it. So put the enable and disable commands in the tool change files.

                    Z-Bot CoreXY Build | Thingiverse Profile

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