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

    Filament runout sensor using a simple switch

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    3
    805
    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.
    • leonknookundefined
      leonknook
      last edited by

      Hi to you all,

      I'm using firmware version:
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.0(RTOS) ELECTRONICS: Duet Ethernet 1.02 or later FIRMWARE_DATE: 2018-06-05b3

      I have connected a simple switch with two leads going to the E0-stop on the ground and the signal pin.

      I have put a piece of filament in de sensor housing gausing the switch to be closed.

      In de config.g I have:

      ; Endstops
      M574 X1 Y1 Z0 E1 S0

      ; Filament runout sensor
      M591 D1 P1 C3

      With a M119 the E-stop does not show up.

      What am I doing wrong?

      regards,
      Leon.

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

        try M591 D0 P1 C3 S1 instead

        if you issue a M591 D0 it should then tell you if filament is present or not

        in my config.g i didnt put anything with extruder endstops in M574 only xyz

        1 Reply Last reply Reply Quote 2
        • leonknookundefined
          leonknook
          last edited by

          Thank you very much for your time! 👍
          That did the trick.

          I needed a normaly open switch so there is no connection between the wires when the filament is loaded.

          kind regards,
          Leon.

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