Filament out sensor on multi extruder Duet
-
When printing with a Duet based printer that is fitted with a filament sensor, the printer pauses when it senses a filament out event. That works great .... but what if you have two extruders? It would appear that there is only 'filament out' but not 'filament out on extruder 0'. The result is that if you have two extruders, both need to have filament installed even if you are only printing with one of the extruders.
Is there any way to set things up to only get a 'filament out' error if the currently active extruder is out of filament? That way, if I only use one extruder, I only need a single filament to be loaded. -
I had a look at the object model and found out that yes, each filament out sensor is detected individually and I can set up files in /sys that run when a filament out sensor is triggered. The file filament-error#.g where # is the extruder number is run (if present) when a fault happens.
So when a filament out error is triggered, I can test to see if the error occurred on the currently active extruder. If it is, then I can run pause.g but I don't know what I should do if the error isn't related to the current extruder.
How can I tell the Duet to ignore the current error and just carry on printing without disabling the alarm. The reason I can't disable the alarm (besides not knowing how) is that the print job might call for a different extruder and if THAT extruder has a filament error message then I would want to run pause.g.
If the error flag is not erased somehow, wouldn't the Duet go into an endless loop where the error is asserted and I tell it to ignore the error? Wouldn't the Duet carry on seeing the filament error over and over?
If I somehow manage to erase the flag, how would it get re-enabled when a different extruder is selected for printing?
Am I trying to do something that just isn't realistic to do? Should I just live with the fact that every configured extruder has to have filament present at all times for the printer to print ?The other option I have I guess is to dynamically configure filament out sensors so that when an extruder is selected, I activate the sensor for that single extruder and when the extruder is freed then I can de-activate that particular filament out sensor.
I would love to hear what other people think about this issue .....