Octoprint Cancelled Prints
Does anybody have or know of a script that will unload the filament from the MMU2 when I cancel my print from Octoprints gui, at the moment if I cancel a print it just leaves the filament in the extruder and this causes me a lot of hassle trying to get it out. 😕
Re: Octoprint Cancelled Prints
From another user (Peter?) Works well.
G1 E-1 F7200
G91
G1 Z5 F1200
G90
M220 S100 ; Set override speed to 100%
G1 X0 Y200 F2400
G1 E5 F150
G1 E-15 F5600 ; Initial retract to get filament out without stringing
G1 E-10 F1000 ; retract filament in PTFE tube ( stages)
G1 E-10 F240
G1 E-10 F100
G1 E-10 F40
G1 E-10 F2000
G1 E-30 F2000 ; Remove filament to above drive pulley
M702 C ; Unload filament
G4 S1 ; pause 1 second
M107 ; turn off fan
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M84 ; disable motors
Re: Octoprint Cancelled Prints
From another user Works well.
Thanks
So pleased to hear that it works 😉
Peter
Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…
Re: Octoprint Cancelled Prints
Thanks for posting it!
Re: Octoprint Cancelled Prints
Hi Peter is there anyway to select what filament to print from when using single mode on the MMU, Once the g-code is sent through Octoprint you have to go to the printer and select the filament to load, my printer is in my garage, so a nice tweak or hack would be nice to be able to select it from inside Octoprint.
Update I have just seen one of your posts and I think that answers my question, I have edited my g-code in Ocyoprint to tell it what location to use for my filament.