Notifications
Clear all

Option to unload filament when ready??  

  RSS
efvee
(@efvee)
Eminent Member
Option to unload filament when ready??

I would appreciate an option to a print job to let the printer unload the filament when the print job is completed.

It would save me waiting until the nozzle is heated up again to unload.

Posted : 17/01/2024 8:39 pm
JP Guitars
(@jp-guitars)
Estimable Member
RE: Option to unload filament when ready??

Add an M702 to the custom gcode that runs at the end of the print.

Posted : 17/01/2024 9:10 pm
Brian liked
efvee
(@efvee)
Eminent Member
Topic starter answered:
RE: Option to unload filament when ready??

I assumed already there was a simple code for the action but I do not want to have separate gcode files. I just want to have the option to have this added on the fly. When I start a print, directly on the printer or,  when the print is running via PrusaConnect, to give the 'unload filament when you are done' action.

 

Posted : 18/01/2024 12:57 pm
JP Guitars
(@jp-guitars)
Estimable Member
RE: Option to unload filament when ready??

I didn't say have a seperate gcode file, I said add it to the custom gcode that runs every time when a print job finishes. Printer Settings/Custom G-code/End G-code, add a new line at the bottom and type in M702 - does exactly what you asked for.

Posted : 18/01/2024 1:30 pm
Brian liked
efvee
(@efvee)
Eminent Member
Topic starter answered:
RE: Option to unload filament when ready??

I do not want it every time a print ends, but when I decide that this print will be the last one for the day. I do not want to mess around with the Custom G-Code twice every day.

I do not know if gcode language has a conditional execution, but what I look for would be ("if x then M702") with x representing the box checked yes or no. 

 

Posted : 18/01/2024 3:21 pm
efvee
(@efvee)
Eminent Member
Topic starter answered:
RE:

The option to be able to decide what to do after completion of the task is quite common for tasks that may take more time than one usually wants to wait, such as operating system updates, running backups, etc.

Posted : 18/01/2024 3:24 pm
EastMemphis
(@eastmemphis)
Estimable Member
RE:

Unloading filament can be speeded up quite a bit by first going into the control option and setting the temperatures of the nozzles first. Then go to the filament option and unload. It makes it a much faster operation, especially if you're unloading more than one tool.

This helps for loading filament as well. Setting the temperature first takes time wasting out of the auto-home.

Printables: https://www.printables.com/@EastMemphis_905139/models

Posted : 18/01/2024 3:40 pm
Tojik
(@tojik)
Member Moderator
RE:

A thought: make a gcode file that unloads the filament, put that file at the end of your queue. You'll still have to set the printer to ready for this to work, so pressing the button in the control tab might be the same amount of work. I'll ask about enqueuing commands into print queue, but i don't have high hopes for this one :/

Posted : 26/01/2024 3:34 pm
cakloiber liked
efvee
(@efvee)
Eminent Member
Topic starter answered:
RE: Option to unload filament when ready??

On the control tab in PrusaConnect I see a number of buttons for controlling the printer, like homing the nozzle etc. Yes you can go there into the temperature control and set the temperature but it would be easier to have a button there to start the filament unload sequence. My printer is in the attic so it takes me some time to get there after I get the message that the print is ready anyway. 

Posted : 19/02/2024 8:55 pm
Tojik
(@tojik)
Member Moderator
RE: Option to unload filament when ready??

Yea that's a side effect of the filament management being disabled. The command is there, the button not so much 🫤

Posted : 19/02/2024 11:07 pm
efvee
(@efvee)
Eminent Member
Topic starter answered:
RE: Option to unload filament when ready??

So half the solution is there already. 😎 

Posted : 23/02/2024 9:07 am
_KaszpiR_
(@_kaszpir_)
Reputable Member
RE:

use some automation such as HomeAssistant or Node-RED
- upload to the pendrive gcode just with filament unload, name it unload.gcode
- add printer to the HomeAssistant or Node-RED
- create automation to run job to print with parameter of the file to unload
- add scheduled job to check for given condition such as 'is this last print' , if yest then do a while loop to wait until the  printer is no longer and then trigger printing uload.gcode
- you can also then add a key to trigger such automation or the boolean condition value change.

 

as you can see there is a bit logic in there and I believe PrusaConnect do not support backgroudn tasks yet, you may need to do it on your own.
unfortunately pressing 'ready' is most problematic, this can be solved the hard way by using managed electric plug to force printer power off for 10s if printer is no longer printing and we want to send custom print.

See my GitHub and printables.com for some 3d stuff that you may like.

Posted : 23/02/2024 11:23 am
Share: