run out sensor
-
Hi. Your M581 T0 parameter means you invoke trigger 0, that is emergency stopp. See https://duet3d.dozuki.com/Wiki/Gcode#Section_M581_Configure_external_trigger
-
A long time ago, before we introduced the M591 command, we suggested using M581 to implement filament run out detection. Now we have M591 to configure it. So you should remove the M581 command.
-
@aidar i read that,i tried T1 and it doesn't work at all.
-
@dc42 thank you.
-
@dc42 i took the 581 out, and it doesnt work at all now.
-
What type of filament run out detector is it, and which firmware version are you running?
-
sunhokey firmware version 2.03
-
sunhokey sensor. firmware2.03
-
@tdybare69 said in run out sensor:
sunhokey
When you run M591 D0 to report the filament sensor status, does it report the correct present/not-present status?
-
@dc42 i don't know what you mean about report. i put it in the firmware ,then run the extruder and pull the filament out by hand
-
@tdybare69 send
M591 D0
in the console and look at the response, then try again with the filament present and see if there is a difference. -
Simple filament sensor on endstop 3, disabled, output high when no filament, filament present: yes. with the filament out.
Simple filament sensor on endstop 3, disabled, output high when no filament, filament present: no. with the filament in. -
So the logic is reversed. change the M591 command to be
M591 D0 P1 C3 S1
as show here:https://duet3d.dozuki.com/Wiki/Gcode#Section_M591_Configure_filament_sensing
Pnn Type of sensor: 0=none, 1=simple sensor (high signal when filament present), 2=simple sensor (low signal when filament present), 3=Duet3D rotating magnet sensor, 4=Duet3D rotating magnet sensor with microswitch, 5 = Duet3D laser sensor, 6 = Duet3D laser sensor with microswitch, 7 = pulse-generating sensor
-
Thanks, changed it to that got this reading, but does not stop when i pull the filament out while its extruding.
Simple filament sensor on endstop 3, enabled, output low when no filament, filament present: yes. while the filament is in.
Simple filament sensor on endstop 3, enabled, output low when no filament, filament present: no. while the filament is out. -
@tdybare69 THIS IS WHT MY CODE LOOKS LIKE.
M591 D0 P1 C3 S1 ; sensor drive 0 is connected to EO endstop input, enabled, trigger M83 -
@tdybare69
sorry about the caps -
I think the way your are testing it is flawed; from M591
Note that filament monitoring in RRF is only active when printing from SD card.
So you probably need to create a short test gcode file with a number of extrude commands in it, run that, and pull the filament out.
Ian
-
your right. i ran a gcode print on small item cut the filament. it worked. thank you