Resume after power failure question

Hello,
We recently are dealing with electrical power interruptions during very long prints. We are very interested in setting up a configuration which would help us to restart the print from where it stopped . I have in my system directory a resurrect.g file that has the following content:
; File "0:/gcodes/CARCASA FAR STANGA.gcode" resume print after print paused at 20210519 11:39
G21
M140 P0 S100.0
G29 S1
T1 P0
G92 X456.032 Y70.905 Z144.920
G60 S1
G10 P1 S0 R0
G10 P0 S270 R270
T0 P0
M98 P"resurrectprologue.g"
M116
M290 X0.000 Y0.000 Z0.280 R0
T1 P0
T0 P6
; Workplace coordinates
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
M106 S0.00
M116
G92 E0.00000
M83
M23 "0:/gcodes/CARCASA FAR STANGA.gcode"
M26 S16749084
G0 F6000 Z147.200
G0 F6000 X472.532 Y20.905
G0 F6000 Z145.200
G1 F2100.0 P0
G21
M24Any help would be highly appreciated


Hello, @dc42 thank you but is there a more detailed documentation to it?

@campeancalin said in Resume after power failure question:
Hello, @dc42 thank you but is there a more detailed documentation to it?
No, because the details of what to put in the resurrectprologue.g file depend a lot on your particular printer. But please ask if there is anything in it that you don't understand.