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

    Configuring Type 4 = sensor with microswitch

    Scheduled Pinned Locked Moved
    Filament Monitor
    4
    7
    368
    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.
    • demonio669undefined
      demonio669
      last edited by

      I have a Magnet Filament Monitor configured as

      M591 C"io6.in" S1 P3 D0 L25.15

      I read the documentation

      https://docs.duet3d.com/en/Duet3D_hardware/Accessories/Rotating_Magnet_Filament_Monitor and https://docs.duet3d.com/User_manual/Connecting_hardware/Sensors_filament but i can't find how to configure for Type 4 to use the microswitch to sense filament-out especially the C parammeter configuration

      Can you help me ?

      Thanks in advance

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

        @demonio669 See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m591-configure-filament-sensing and this section of the page you linked https://docs.duet3d.com/User_manual/Connecting_hardware/Sensors_filament#configuring-other-filament-out-sensors

        Basically, use:

        M591 C"io6.in" S1 P4 D0 L25.15 
        

        The P parameter sets the filament monitor type; P4 sets it to "Duet3D rotating magnet sensor with microswitch". The microswitch is connected to the filament monitor itself, and it's state is reported in the filament report called by M591 D0.

        If filament runs out, a filament-error event of type 3 is reported, as opposed to type 4 or 5 reported by the filament monitor. This allows you to setup different responses for the different types of filament error. Or just leave it with the default action of pausing and informing you of the error. See https://docs.duet3d.com/User_manual/Connecting_hardware/Sensors_filament#event-system-filament-error-events

        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

        demonio669undefined 1 Reply Last reply Reply Quote 0
        • demonio669undefined
          demonio669 @droftarts
          last edited by

          @droftarts shoud'nt I connect the 2 pin header to anywhere ? I change P3 to P4 but the sensor says "nofilament"

          droftartsundefined Diamondbackundefined 2 Replies Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @demonio669
            last edited by

            @demonio669 Connect a microswitch to the two-pin header on the rotating magnet sensor. See https://docs.duet3d.com/User_manual/Connecting_hardware/Sensors_filament#connecting-to-the-duet

            Optional filament presence switch

            The Duet3D Rotating Magnet Filament Monitor has an optional filament presence switch. You can connect a microswitch to the 2-pin "SW" header arranged so that the switch contacts are closed when filament is present and open when it is not.

            However, this is not normally necessary, because the filament monitor will detect that there is no filament moving through just a few mm after the end of the filament has passed over the sensor, which will normally be well before the end of the filament reaches the extruder drive.

            Note this switch header is not populated in all versions of the monitor but it can be added if desired. It is a standard a standard Molex KK 2 pin header

            See the wiring diagram here: https://docs.duet3d.com/Duet3D_hardware/Accessories/Rotating_Magnet_Filament_Monitor#wiring

            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
            • Diamondbackundefined
              Diamondback @demonio669
              last edited by Diamondback

              @demonio669 On the 2-pin header you connect your switch (just in case there is a missunderstanding, YOU need to provide a switch, there is no switch built into the sensor itself).

              demonio669undefined 1 Reply Last reply Reply Quote 0
              • demonio669undefined
                demonio669 @Diamondback
                last edited by

                @Diamondback I understand! my bad! Thank You!!

                think it would be nice if the next version came with a built-in filament run-out sensor

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

                  @demonio669 said in Configuring Type 4 = sensor with microswitch:

                  think it would be nice if the next version came with a built-in filament run-out sensor

                  The filament monitor needs to be placed as close to the extruder drive as possible in order to measure extrusion accurately; whereas a filament-out sensor should be further away from the extruder drive so that it detects the filament out condition well before the end of the filament reaches the extruder drive.

                  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