Hi,
I am running RRF 2.03 on a Duet 2 Ethernet (v1.04). I have a self-built machine with 2 extruders and a problem when recovering from a controlled shutdown.
With the current firmware it seems not to be possible to undo a retraction that was made during shutdown with the "resurrect-prologue.g" makro, as mentioned in the wiki (https://duet3d.dozuki.com/Wiki/Setting_up_to_resume_a_print_after_a_power_failure) :
"If your power fail procedure in the M911 command retracts filament and your printer has a single nozzle, you may wish to undo the retraction."
In my case I want to undo the retraction from a controlled shutdown, so M911 was not called. But that should make no difference.
The reason I can't undo the retraction is, that I can't perform a retraction in resurrect-prologue.g when no tool is selected (or heated). Because in the current firmware the sequence of the commands in resurrect.g have changed. As mentioned in the changelog for RepRapFirmware 2.03 (released 13 Jun): https://github.com/dc42/RepRapFirmware/blob/dev/WHATS_NEW.md
The relevant bulletpoint is:
- In resurrect.g, the current tool is now selected after running resurrect-prologue, and its tpre and tpost files are run (for tool changer)
Just for clarification. This is the resurrect.g file that is generated by my printer:
; File "0:/gcodes/interrupted_print.gcode" resume print after print paused at 2019-10-03 22:23
G21
M141 P0 S0.0
G29 S1
T-1 P0
G92 X76.986 Y100.320 Z3.100
G60 S1
M98 P"resurrect-prologue.g"
M116
M290 X0.000 Y0.000 Z0.000 R0
G10 L2 P1 X0.00 Y0.00 Z0.00
G10 L2 P2 X0.00 Y0.00 Z0.00
G10 L2 P3 X0.00 Y0.00 Z0.00
G10 L2 P4 X0.00 Y0.00 Z0.00
G10 L2 P5 X0.00 Y0.00 Z0.00
G10 L2 P6 X0.00 Y0.00 Z0.00
G10 L2 P7 X0.00 Y0.00 Z0.00
G10 L2 P8 X0.00 Y0.00 Z0.00
G10 L2 P9 X0.00 Y0.00 Z0.00
G54
G10 P1 S200 R0
G10 P0 S215 R215
T0 P6
M106 S0.00
M106 P2 S0.00
M106 P3 S0.00
M106 P4 S0.00
M106 P5 S0.00
M106 P6 S0.00
M106 P7 S0.00
M106 P8 S0.00
M116
G92 E0.00000
M83
M23 "0:/gcodes/interrupted_print.gcode"
M26 S2285966 P0.000
G0 F6000 Z5.100
G0 F6000 X76.986 Y100.320
G0 F6000 Z3.100
G1 F2133.3 P0
G21
M24
As you can see the used tool is selected and heated after resurrect-prologue.g was called.
Now my question / bug report / wish for the next release:
Is there a way to work around that issue? Is there a way to select the right tool (of the interrupted print), set the right temperatures (for the interrupted print) and undo the retraction before resuming the print?
Thanks a lot and best regards
Christian