• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Resume a print after a power failure

Scheduled Pinned Locked Moved
Tuning and tweaking
2
4
286
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    DunstonUK
    last edited by 28 Sept 2019, 10:44

    Resume a print after a power failure

    Hi

    I am getting the following error when trying to restart a 22-hour of a 36 hours print.

    Error: Attempting to extrude with no tool selected.

    I call the resume print command M916

    It homes both the Y X also the bed heats back up to its pre-state temp, but the extruder does not heat up at all.

    I have the following in the files required.

    sys/config.g file

    ; Automatic power saving
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"

    sys/resurrect-prologue.g

    M116 ; wait for temperatures
    G28 X Y ; home X and Y, hope that Z hasn't moved
    M83 ; relative extrusion
    G1 E4 F3600 ; undo the retraction that was done in the M911 power fail script

    sys/resume.g

    G1 R1 X0 Y0 Z5 F6000
    M83
    G1 E5 F3600

    sys/resurrect.g

    ; File "0:/gcodes/daynight.gcode" resume print after power failure at 2019-09-27 14:34
    G21
    M140 P0 S60.0
    G29 S1
    T-1 P0
    G92 X216.561 Y133.798 Z4.494
    G60 S1
    M98 P"resurrect-prologue.g"
    M116
    M290 X0.000 Y0.000 Z-0.060 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 P0 S205 R205
    T0 P6
    M106 S0.75
    M106 P0 S0.75
    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 E56.57000
    M82
    M23 "0:/gcodes/daynight.gcode"
    M26 S2718019 P1.054
    G0 F6000 Z6.434
    G0 F6000 X216.561 Y133.798
    G0 F6000 Z4.434
    G1 F4242.6 P0
    G21
    M24

    Any help please as to where this is not right that I need to correct so I don't lose this 22 hours of a 36 hours long print.

    Thank you

    @dc42 I followed your suggestion and corrected the T0 P0 then M116 before that G1 E4 command into the resurrect-prologue.g, and now I am getting the following errors.

    28/09/2019, 10:47:49: M98 P"0:/macros/Power loss resume": Warning: the height map was loaded when the current Z=0 datum was not determined probing. This may result in a height offset. (this part is clear as it has not homed the Z to prevent crashing into the print)

    28/09/2019, 10:48:32: : Warning: Tool 0 was not driven because its heater temperatures were not high enough or it has a heater fault

    The heater did not turn on, I know it works as I can turn it on by command in the WebUI, so there is not a fault on the heater

    Life’s bucket list is never ending. Remember someone else is always better than you.

    undefined 1 Reply Last reply 28 Sept 2019, 18:37 Reply Quote 0
    • undefined
      dc42 administrators @DunstonUK
      last edited by 28 Sept 2019, 18:37

      @DunstonUK said in Resume a print after a power failure:

      28/09/2019, 10:48:32: : Warning: Tool 0 was not driven because its heater temperatures were not high enough or it has a heater fault

      Try adding G10 P0 S205 R205 then M116 before the G1 E4 command in resurrect-prologue.g, to wait for the tool to reach operating temperature.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        DunstonUK
        last edited by 29 Sept 2019, 15:47

        Hi @dc42

        Do I leave the previous commands in that you posted beforehand?

        T0 P0
        M116

        so it now reads:

        sys\resurrect-prologue.g

        M116
        G28 X Y
        M83
        T0 P0
        M116
        G10 P0 S205 R205
        M116
        G1 E4 F3600

        Life’s bucket list is never ending. Remember someone else is always better than you.

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 29 Sept 2019, 17:43

          @DunstonUK said in Resume a print after a power failure:

          M116
          G28 X Y
          M83
          T0 P0
          M116
          G10 P0 S205 R205
          M116
          G1 E4 F3600

          You can simplify it to:

          G28 X Y
          T0 P0
          G10 P0 S205 R205
          M116
          M83
          G1 E4 F3600

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          2 out of 4
          • First post
            2/4
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA