Filament runout sensor using a simple switch
-
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-05b3I 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 C3With a M119 the E-stop does not show up.
What am I doing wrong?
regards,
Leon. -
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
-
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.