At the end of a print-job I would like to automatically unload the filament and then power off the printer.
The G-Code sequence would be:
M125 ; Park Head
M702 ; Unload filament
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan
M84 ; disable motors
M81 ; Power Off
The M702 unloads the filament correctly, but remains in a pause mode which must be ended manually before the remaining G-codes are executed!
Is there a way to prevent the M702 from pausing?
I'm using Marlin 2.1.x, bugfix version from 07/15/2022
(I've already tried to call the unload_filament() with show_lcd=false and I removed the ui.pause_show_message() calls from M702() function. But that made things only worse! It then completely stucks in pause.)
Any hints appreciated!
Thanks!
The G-Code sequence would be:
M125 ; Park Head
M702 ; Unload filament
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan
M84 ; disable motors
M81 ; Power Off
The M702 unloads the filament correctly, but remains in a pause mode which must be ended manually before the remaining G-codes are executed!
Is there a way to prevent the M702 from pausing?
I'm using Marlin 2.1.x, bugfix version from 07/15/2022
(I've already tried to call the unload_filament() with show_lcd=false and I removed the ui.pause_show_message() calls from M702() function. But that made things only worse! It then completely stucks in pause.)
Any hints appreciated!
Thanks!