• Tags
  • Documentation
  • Order
  • Register
  • Login
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
793
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.
  • undefined
    leonknook
    last edited by 7 Feb 2019, 11:00

    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
    • undefined
      gavatron3000
      last edited by gavatron3000 2 Jul 2019, 12:21 7 Feb 2019, 12:20

      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
      • undefined
        leonknook
        last edited by 7 Feb 2019, 13:47

        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
        1 out of 3
        • First post
          1/3
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA