Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    power failure script error

    General Discussion
    2
    9
    328
    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.
    • Lamerhouse
      Lamerhouse last edited by

      does anyone know how to fix the restart script after power failure? because now it has a problem .. when it restarts ... first it warms the dish ok ... then instead of heating hotend it moves to the coordinates 0 x and y, this causes the detachment of the piece hooked to the hotend and then once done home starts the hotend heating ... instead it should first heat up hotend and then move to 0 yx coordinates

      Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
      Firmware Electronics: Duet WiFi 1.02 or later
      Firmware Version: 2.03 (2019-06-13b2)
      WiFi Server Version: 1.23
      Web Interface Version: 1.22.6
      Web Interface by Christian Hammacher
      Licensed under the terms of the GPL v3

      dc42 1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators @Lamerhouse last edited by

        If you want to heat the hot end before homing, try adding M116 to the start of your resurrect-prologue.g file.

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

          yes I have to warm up hotend before sending home ... otherwise while going home to hotend turned off with the unfinished piece as the plastic casting is cold

          1 Reply Last reply Reply Quote 0
          • Lamerhouse
            Lamerhouse last edited by

            this is current script ... but head only bed no hotend ....
            once heated the bed makes the home and then warms up the hotend

            ;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

            1 Reply Last reply Reply Quote 0
            • Lamerhouse
              Lamerhouse last edited by

              this is script generate

              ; File "0:/gcodes/Right_corner_-bottom_aux PETG2000.gcode" resume print after power failure at 2019-06-29 20:04
              G21
              M140 P0 S70.0
              T-1 P0
              G92 X-23.000 Y321.000 Z0.000
              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 P0 S0 R0
              M106 S0.00
              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
              M116
              G92 E0.00000
              M82
              M23 "0:/gcodes/Right_corner
              -_bottom_aux PETG2000.gcode"
              M26 S6414 P0.000
              G0 F6000 Z2.000
              G0 F6000 X-23.000 Y321.000
              G0 F6000 Z0.000
              G1 F3000.0 P0
              G21
              M24

              dc42 1 Reply Last reply Reply Quote 0
              • dc42
                dc42 administrators @Lamerhouse last edited by

                It looks like there is no command there to select a tool. I will look into that.

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

                  ok, thanks ... in the meantime I have done other tests, unfortunately the same thing always happens .. heat the dish ... then it goes into the home with the boards and then heats the extruder. this at the moment as already said at the time of the axes, having the extruder still cold detaches the piece from the plate bringing it into the home ... and then letting it warm up .. and correctly starting from the point of printing left .. but unfortunately the piece below no longer exists 🙂

                  1 Reply Last reply Reply Quote 0
                  • dc42
                    dc42 administrators last edited by dc42

                    If you have only one tool and it is called T0, then as a workaround you could add T0 followed by M116 to the start of resurrect-prologue.g.

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

                      ok .. in the meantime I try this solution thanks

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