Filament Runout Sensor
-
I cannot seem to get my filament runout sensor to work on my IDEX. I am running a Duet 2 WIFI/Duex5 with a simple switch purchased from here:
Here are some pictures showing how I have it wired. With its current wiring, the LED on the Duet2 board lights up when there is NO filament present. The LED on the switch lights up when filament is present.
Here is the endstop/runout sensor section of my config.g:
; Endstops
M574 X1 S1 P"e1stop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin e1stop
M574 U2 S1 P"duex.e6stop" ; configure switch-type (e.g. microswitch) endstop for high end on U via pin exp.e6stop
M574 Y1 S1 P"duex.e5stop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin exp.e5stop
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
M591 D0 P2 C"xstop" S0 ; configure filament monitor (simple switch) for E0
M591 D1 P2 C"duex.e4stop" S0 ; configure filament monitor (simple switch) for E1What do i need to do to fix them so they operate as intended? If I have left out any necessary information, I apologize. Please do not hesitate to ask any questions or for more information.
-
@SonnyD1 said in Filament Runout Sensor:
I cannot seem to get my filament runout sensor to work on my IDEX.
What does and does not work at the moment?
The S0 on the M591 command disables the monitor, are you enabling it during a print?
-
@Phaedrux No I'm not. That has to be the issue. I'm confused though. The dictionary says that S0 is the default. Why would disabling it be the default? And is says S1 is for printing from SD card which I am not. What should it be?
-
@SonnyD1 said in Filament Runout Sensor:
nd is says S1 is for printing from SD card which I am not.
Yes you most likely are. If you upload your gcode file to DWC manually or from the slier, it's stored locally on the SD card. If it's in SBC mode, it's on the SD card of the SBC. The only alternative is streaming the gcode commands over USB such as with OctoPrint, etc, which is not supported. Is that what you're doing?
@SonnyD1 said in Filament Runout Sensor:
Why would disabling it be the default?
Well if you have multiple tools you may only want the selected tool to be enabled.
-
Well if you have multiple tools you may only want the selected tool to be enabled.
Ok I understand now. Gonna make the change and test it out. Should I only enable the T0 in the config.g for single extruder printing and enable the T1 with "M591 D1 S1" in startup gcode on my dual profile in the slicer for dual printing? Would that work?
-
You can also use the Duet tool change files (tpre.g tpost, etc) and enable and disable that way.
-
@Phaedrux said in Filament Runout Sensor:
You can also use the Duet tool change files (tpre.g tpost, etc) and enable and disable that way.
How would I do that specifically?
-
See here: https://docs.duet3d.com/en/User_manual/Tuning/Tool_changing
When you switch to a tool you would want to enable the monitor. When you switch away from a tool you would want to disable it. So put the enable and disable commands in the tool change files.
-