Navigation

    Duet3D Logo

    Duet3D

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

    SOLVED How to invert filament sensor?

    Duet Hardware and wiring
    2
    3
    308
    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.
    • Fuganater
      Fuganater last edited by

      Hello!

      I have a Duet 2 Wifi running 2.05 FW. I'm trying to add a filament sensor and while it works, it is working inverted. I can't for the life of me figure how how to invert the sensor.

      I'm using this sensor: https://www.amazon.com/TriangleLab-Filament-Runout-Detector-Printer/dp/B07DHD8WHF

      I also tried just a standard endsotp switch and I get the same results.

      Here is what is in my config.g
      ; Filament sensor
      M591 D0 P1 C3 S1 ; Set Filament sensor Simple type (High) for extruder drive 0, connected to endstop input 3 (E0)

      Please let me know if there is a simple fix for this. I've tried:

      P1 and P2
      S1 and S0
      Inverting the ground and sensor pin. Doesn't work as the board doesn't full boot due to a short.
      Tried multiple switches.

      Thanks so much for the help!

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

        Well I solved this because I didn't understand RRF. (I've literally been at this for nearly a week)

        I was looking under "Machine Properties" and was going by that. I expected the signaling to change there but that is not the case.

        I had to just send M591 D0 to get what the ACTUAL status of the filament sensor was.

        With P1, it was wrong. With P2, it inverted it and triggered when filament was not present.

        Hopefully this helps another noob like me out.

        1 Reply Last reply Reply Quote 1
        • fcwilt
          fcwilt last edited by

          Hi,

          Glad to hear you got it sorted.

          Good job.

          Frederick

          Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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