Filament runout follow up
-
I have seen this thread
https://forum.duet3d.com/topic/4699/are-you-using-a-filament-sensor-with-your-duet/6
It’s actual what I want to do as someone mentioned m581Do I have to insert m581 m582 in a particular order ? In config.g?
Can someone share what it should look like?
I'm trying a simple sensor with m591 and got nothing...
The original post is locked so I have to make a new thread to ask.
-
Filament sensors should be configured using M591 now. The M581/M582 method was what we suggested before we introduced M591.
-
I have a simple sensor. A micro switch wired to be NC, so when filament is present , the switch would be open.
I have this
M591 D3 P2 C3 S1 ; E-0 watcher
M591 D4 P2 C4 S1 ; E-1 watcherI had D0 and D1 before but nothing happened. Where & how should I input this in my config?
-
You should use D0 and D1. That line can go anywhere in config.g but I suggest towards the end. As your switch is NC, it will give a High signal when filament is present, so you should use P1 not P2.
You can check what the filament sensor is reporting by sending M591 D0 or M591 D1 with no other parameters.
-
It just said simple filament sensor on endstop4 , disable, output liw when no filament
Nothing really change whether filament is in or not.
What does it actually do? Does it trigger a stop?
-
I've just checked the code and you are right, the M591 report doesn't include whether the sensor is reporting filament present or absent. I'll fix that in the forthcoming 2.02RC5 release. Meanwhile, the M122 report does include the filament present/absent status.
-
I’m on 2.0 can i still use M581? It keeps throwing it to Emergency Stop.
All I need it tot do:
Filament present : print goes on normally
Filament absent: trigger pause , wait for filament, purgeSimilar to M600 in Marlin
Thanks
-
@dc42
I’m on 2.0 can i still use M581? It keeps throwing it to Emergency Stop.All I need it tot do:
Filament present : print goes on normally
Filament absent: trigger pause , wait for filament, purgeSimilar to M600 in Marlin
Do I need to rewrite pause.g with M701 and M702 ?
Thanks
-
You should use M591 as I said before. Use M122 to read back the status of your filament sensor while testing it.