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

    Resurrect.g problems

    Scheduled Pinned Locked Moved
    General Discussion
    3
    13
    1.7k
    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.
    • FlyingScotundefined
      FlyingScot
      last edited by

      Sorry I should have stated I am using firmware v2.01

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

        See https://duet3d.dozuki.com/Wiki/Setting_up_to_resume_a_print_after_a_power_failure.

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

          Thanks thats what I have been trying to follow but when I try to home Z using g30 its showing z position as -15.01 when z probe is triggered is this correct?

          regards

          Arthur

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

            @flyingscot said in Resurrect.g problems:

            Thanks thats what I have been trying to follow but when I try to home Z using g30 its showing z position as -15.01 when z probe is triggered is this correct?

            regards

            Arthur

            That sounds odd. What exactly are you doing in resurrect-prologue.g to home Z? I presume you are positioning the head clear of the print for homing.

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

              I maybe have it wrong I though I had to home machine manually to stop head crashing into job.
              so I homed x & y with buttons and moved head to a clear position and ran g30 from console.

              arthur

              1 Reply Last reply Reply Quote 0
              • FlyingScotundefined
                FlyingScot
                last edited by

                Oh thats the other problem I only have resurrect.g no resurrect-prologue.g Do I have to re-name it?

                wilrikerundefined 1 Reply Last reply Reply Quote 0
                • wilrikerundefined
                  wilriker @FlyingScot
                  last edited by

                  @flyingscot No these are two separate files. resurrect.g is created for every paused print anew whereas resurrect-prologue.g will be a generic set of instructions being equal to all resurrected prints. Typically these contain at least the homing process with a partial build on the build plate and then also contain an arbitrary amount of additional commands that you might need to do whenever you have to restart a failed print.

                  For reference mine looks like

                  G28 XY             ; Home X and Y regularly
                  G0 Y230            ; Move Y to the front maximum
                  G28 Z              ; Home Z now where the head has least chance to hit something
                  

                  Manuel
                  Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                  with probably always latest firmware/DWC (incl. betas or self-compiled)
                  My Tool Collection

                  1 Reply Last reply Reply Quote 0
                  • FlyingScotundefined
                    FlyingScot
                    last edited by

                    ok nearly there I think I now have a resurrect-prologue.g file as below.
                    the clear area for z probe is X205, Y 2. so X & X home ok then the head moves to X205, Y2 but then tries to home Z in the middle of the bed where the job is.
                    I read that z coordinates cant be used with g28 z so how do you stop it heading to its normal home z position?

                    resurrect-prologue.g
                    G28 XY ;Home X & Y regularly
                    G0 Y2 ;Move y to front of bed
                    G0 X205 ;Move X to clear area
                    G28 Z ;Home Z where head has least chance of hitting anything

                    wilrikerundefined 1 Reply Last reply Reply Quote 0
                    • wilrikerundefined
                      wilriker @FlyingScot
                      last edited by

                      @flyingscot G28 Z will simply run /sys/homez.g. So you might have to modify this?! I don't have a Z probe just a simple microswitch endstop so to home Z my axis just lowers until the switch is hit independent of the heads position. So I cannot tell you exactly what is the best in this case.

                      Manuel
                      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                      with probably always latest firmware/DWC (incl. betas or self-compiled)
                      My Tool Collection

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

                        @wilriker said in Resurrect.g problems:

                        @flyingscot G28 Z will simply run /sys/homez.g. So you might have to modify this?!

                        Just copy the contents of homez.g into the resurrect-prologue file in place of the G28 Z command, removing or adjusting any commands that position the head in XY before executing the G30 or G1 S1 Z command that does the actual homing.

                        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

                        wilrikerundefined 1 Reply Last reply Reply Quote 1
                        • wilrikerundefined
                          wilriker @dc42
                          last edited by

                          @dc42 said in Resurrect.g problems:

                          Just copy the contents of homez.g into the resurrect-prologue file in place of the G28 Z command, removing or adjust any commands that position the head in XY before executing the G30 or G1 S1 Z command that does the actual homing.

                          That makes a lot more sense than my idea. 🤦
                          Too hot -> brain-melt -> going home now (or into the fridge?). 😂

                          Manuel
                          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                          with probably always latest firmware/DWC (incl. betas or self-compiled)
                          My Tool Collection

                          1 Reply Last reply Reply Quote 0
                          • FlyingScotundefined
                            FlyingScot
                            last edited by

                            Success, thanks for all your help Guys

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