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

    When a print is paused, Z is reduced by 0.03/0.04 mm on restart

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    7
    50
    2.2k
    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.
    • moth4017undefined
      moth4017 @jens55
      last edited by moth4017

      @jens55 hi just checked mine and its ok, what version of DWC/duet etc are you running
      my macros

      ; pause.g
      echo "pause"       ; called when a print from SD card is paused
      M83                ; relative extruder moves
      G1 E-2 F3600       ; retract  filament
      G91                ; relative positioning
      G1 Z5 F4000        ; lift Z by 5mm
      G90                ; absolute positioning
      G1 X250 Y260 F6000 ; go to X Y position
      
      
      ; resume.g
      G1 R1 X0 Y0 Z5 F6000    ; go to 5mm above position of the last print move
      G1 R1 X0 Y0 Z0          ; go back to the last print move
      M83                     ; relative extruder moves
      G1 E10 F3600            ; extrude 10mm of filament
      

      <

      jens55undefined 1 Reply Last reply Reply Quote 0
      • jens55undefined
        jens55 @moth4017
        last edited by

        @moth4017, I am running 3.5.0-beta.4

        moth4017undefined deckingmanundefined 2 Replies Last reply Reply Quote 0
        • moth4017undefined
          moth4017 @jens55
          last edited by moth4017

          @jens55 hi im running 3.5.0-rc1.try that version

          <

          1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman @jens55
            last edited by

            @jens55 Does the difference in Z height correspond with the amount of baby stepping used? Do you get the same error if you don't apply any baby stepping?

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            jens55undefined 1 Reply Last reply Reply Quote 0
            • jens55undefined
              jens55 @deckingman
              last edited by

              @deckingman, I have not tried without babystepping but will try that.
              There seems to be no correlation with the amount of babystepping.
              I will also try and see if this phenomena is limited to this printer or if a different printer does the same thing.

              1 Reply Last reply Reply Quote 0
              • jens55undefined
                jens55
                last edited by

                Did some more testing ..... on a different printer (3.5.0 - rc1), the issue does not exist.
                The issue ocures even if I do not do any babystepping.
                The issue still persists after upgrading to 3.5.0 - rc2
                I compared the pause.g and resume.g files between the printer that does not show the issue and the printer that has the issue but could not determine any substantial difference
                took the pause.g and resume.g files from the printer that works and installed them on the problem printer - the issue still persists
                Tried yet another printer (3.5.0 - rc1) and the problem does not exist

                The two working printers are single tool units, the printer with the issue is a tool changer (Jubilee) but no tool changes are involved

                I have run out of ideas as to what to try next 😞

                OwenDundefined moth4017undefined 2 Replies Last reply Reply Quote 0
                • OwenDundefined
                  OwenD @jens55
                  last edited by

                  @jens55
                  Do you have any bed compensation applied?

                  jens55undefined 1 Reply Last reply Reply Quote 0
                  • moth4017undefined
                    moth4017 @jens55
                    last edited by

                    @jens55 do yours tools have different offsets ? if you change them all to the same offset just to do a test . does the issue go away?

                    <

                    jens55undefined 1 Reply Last reply Reply Quote 0
                    • jens55undefined
                      jens55 @OwenD
                      last edited by

                      @OwenD, yes, I have bed compensation enabled but I also have that enabled on the two printers that work.

                      1 Reply Last reply Reply Quote 0
                      • jens55undefined
                        jens55 @moth4017
                        last edited by

                        @moth4017, yes, my tools have different offsets but there is no tool change involved. If it is an issue of tool offset, why would the height continue to reduce for every pause cycle?
                        I will see what happens when my z offsets are the same.

                        moth4017undefined 1 Reply Last reply Reply Quote 0
                        • moth4017undefined
                          moth4017 @jens55
                          last edited by

                          @jens55 may be there is an undisclosed design feature (bug) that's taking of the offset from one of the tools , did you try making all the offsets the same ?

                          <

                          jens55undefined 1 Reply Last reply Reply Quote 0
                          • jens55undefined
                            jens55 @moth4017
                            last edited by

                            @moth4017, yes, just finished testing with all the same z offsets. Problem still exists.

                            moth4017undefined 1 Reply Last reply Reply Quote 0
                            • moth4017undefined
                              moth4017 @jens55
                              last edited by

                              @jens55 can you post your config

                              <

                              jens55undefined 1 Reply Last reply Reply Quote 0
                              • jens55undefined
                                jens55 @moth4017
                                last edited by

                                @moth4017
                                config.g

                                moth4017undefined 1 Reply Last reply Reply Quote 0
                                • moth4017undefined
                                  moth4017 @jens55
                                  last edited by

                                  @jens55 in your config you are doing calculations instead of putting in the value, it may be a rounding issue , you could try putting in fixed values .

                                  <

                                  jens55undefined 1 Reply Last reply Reply Quote 0
                                  • jens55undefined
                                    jens55 @moth4017
                                    last edited by jens55

                                    @moth4017, what in specific are you referring to?
                                    Yes, I calculate motor current but that has no bearing on the issue.
                                    I calculate z steps but that is an even number (no rounding) and besides, we are not talking actual height error (if the steps per mm are wrong) but we are talking what DWC 'thinks' is the z height.

                                    1 Reply Last reply Reply Quote 0
                                    • jens55undefined
                                      jens55
                                      last edited by

                                      I just looked at the object model during a pause and the Z height is correct. It would appear that the printer goes back to the right position and then reduces Z height somehow. This is confirmed by the DWC Z height display where, during the resume, z height goes to 0.2 (first layer height) and then drops down to 0.16.
                                      It sure looks like there is some macro someplace that somehow changes the height on resume .... but where would this happen ... is there something that automatically runs after pause.g has executed ????

                                      moth4017undefined 1 Reply Last reply Reply Quote 0
                                      • moth4017undefined
                                        moth4017 @jens55
                                        last edited by

                                        @jens55 just a question are you doing the pause from DWC or in the slicer software ? eg pause at height x "do something" then resume?

                                        <

                                        1 Reply Last reply Reply Quote 0
                                        • jens55undefined
                                          jens55
                                          last edited by

                                          How does resurrect.g fit in the big picture? I thought it only applies when there was a power outage?
                                          The reason I bring this up is because the resurrect.g file contains this line:

                                          G92 X266.207 Y126.771 Z-0.036 U0.000

                                          and the z-0.036 seems very much like the error I am seeing.

                                          moth4017undefined 2 Replies Last reply Reply Quote 0
                                          • moth4017undefined
                                            moth4017 @jens55
                                            last edited by

                                            @jens55 Any time you pause a print from SD card, the state of the print is saved to a special file on the SD card, sys/resurrect.g

                                            <

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