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

    Resume after power fail routine

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    5
    882
    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.
    • pabomanundefined
      paboman
      last edited by

      M916 works fine if I send the command just after power is resumed but does not work if I home the printer manually.
      After power fail but before M916 I want to be able to home the printer and then bring the effector down for cleaning.
      Once the nozzle is clean I want to send M916 to the printer to resume it last state after power loss, is it possible ?

      config.g:

      M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"
      

      resurrect.g:
      EMPTY:

      resurrect-prologue.g:

      M116 ; wait for temperatures
      G28 ; home all towers
      M83 ; relative extrusion
      G1 E4 F3600 ; undo the retraction that was done in the M911 power fail script
      
      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        If resurrect.g is empty then the firmware failed to save the state of the print. This could mean that you need a little more reserve power, which you can provide by connecting a high value capacitor in parallel with VIN.

        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
        • pabomanundefined
          paboman
          last edited by paboman

          I am using a really big power supply with big capacitors
          i don't know why it was empty
          now its something like this :

          ; File "knurling_nut 08.gcode" resume print after print paused at 2018-07-03 10:12
          M140 P0 S55.0
          G10 P0 S210 R210
          T0 P0
          G29 S1
          M98 Presurrect-prologue.g
          M106 P0 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
          M106 S0.00
          M116
          M290 S0.640
          G92 E0.00000
          M83
          M23 knurling_nut 08.gcode
          M26 S33564 P0.000
          G0 F6000 Z2.630
          G0 F6000 X-6.08 Y-23.76
          G0 F6000 Z0.630
          G1 F960.0 P0
          M24
          

          but if i run M916 after power restore the printer resume the print as it should.
          while if I home the printer and move the effector down and only at that point I send M916 then the command is ignored.

          dc42undefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @paboman
            last edited by

            @paboman, I can't think of any reason why the M916 command would be ignored, except because the resurrect.g file is not present.

            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
            • T3P3Tonyundefined
              T3P3Tony administrators @paboman
              last edited by

              @paboman I have tested this on a delta using the latest firmware and I can't recreate the issue. The resume works no matter if i move the axis about before resuming or if i don't

              www.duet3d.com

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