Error when resuming a print with Duet Magnetic Filament Monitor
-
What firmware version are you using?
Are you using object cancelation in the print that is being resumed? -
@phaedrux Hi, I'm using Firmware: RepRapFirmware for Duet 3 Mini 5+ 3.3 (2021-06-15).
I included my config, resurrect, filament-error, etc. files in my first post.
I'm not canceling anything, if I'm printing and the filament runs out, the machine pauses and gives me the "no filament" error message, then if I add a new spool of filament and click "Resume", I get the error message from my first post.I'm sorry if that doesn't answer your question as I'm quite new to the whole RepRap Firmware/Duet system.
-
The reason I asked about object canceling is because the M486 commands are for object cancelation.
I think there may be some confusion as well. If the print has been paused by the filament runout, you don't want to use M916 to resume. That is used in cases where your printer has lost power and you need to resume from a cold start.
When the filament runs out, you only need to press the resume button in the GUI or on the PanelDue.
-
@phaedrux Hi, I just ran a test, after the runout sensor paused the print I replaced the filament, but when I click "Resume Print" in the Job Control tab of DWC and nothing happens, the status is stuck as "Pausing" and I can't resume or cancel the print using either of the buttons in DWC
-
Can you please try updating your firmware?
https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.1/Duet2and3Firmware-3.4.1.zip
Download that zip file, then upload it as is to the system tab in DWC.
After it's rebooted, send M122 in the gcode console to check that everything is up to date.
Then please do a short print test and cause the filament to run out to trigger the runout detection.
Did you create the filament-error.g macro, or did you get it somewhere? Does it pop up a message that there has been a filament error?
-
@phaedrux Hi, I updated my firmware as advised and now it reads as:
RepRapFirmware for Duet 3 Mini 5+ version 3.4.1 (2022-06-01 21:06:56) running on Duet 3 Mini5plus WiFi (standalone mode).
I ran a test print and caused a filament runout, the filament error message popped up, but the print didn't pause, it moved up and away from the print as it should, but then it started continue the print again in mid-air.
As for the filament-error.g file I didn't create it myself, I found it online. And yes, the filament error pop up message comes up on a runout.
-
https://docs.duet3d.com/User_manual/Reference/Gcodes#m591-configure-filament-sensing
I think the relevant part is this:
note if you use a filament-error macro, there is no pause unless you put an M25 in the macro. If the job is paused, it will require manual intervention, or M24 in the macro [currently not tested, but should work!], to resume the print.
Your macro is this:
M83 ; relative extruder moves G1 E-10 F3600 ; retract 10mm of filament G91 ; relative positioning G1 Z25 F360 ; lift Z by 5mm G90 ; absolute positioning G1 X0 Y0 F6000 ; go to X=0 Y=0; M291 P"No Filament" R"Filament Error" S2 ; display filament run-out error message
So you'll need to add M25 in there. Likely on the line above the M291 command. And then M24 after the M291 line.
This should actually cause the print to pause. Then you can replace the filament and hit OK. Then the print should resume.
So just to be clear it should look like this I think:
M83 ; relative extruder moves G1 E-10 F3600 ; retract 10mm of filament G91 ; relative positioning G1 Z25 F360 ; lift Z by 5mm G90 ; absolute positioning G1 X0 Y0 F6000 ; go to X=0 Y=0; M25 ; pause print M291 P"No Filament" R"Filament Error" S2 ; display filament run-out error message M24 ; resume print
-
@phaedrux Hi, your updated filament-error file works, but the problem is when the runout error message pops up, I cant load/unload filament and if I click on "OK" to get the message to go away, the printer immediately starts printing again without filament.
-
@phaedrux Hi, I just removed the M24 from the end of the filament-error file and now it seems to be working properly. I ran a quick test print, caused a filament error and I was able to click "OK" to remove the error message popup, retract/unload the filament from the hotend, load new filament and resume printing.
Thanks so much for your help, it is very much appreciated.
-
That's great. Glad we got it working.
-
-