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

    One Z move at end of print, but two occur

    Scheduled Pinned Locked Moved Solved
    General Discussion
    2
    8
    259
    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.
    • kb58undefined
      kb58
      last edited by kb58

      CoreXY printer.

      Below is the actual gcode sent to the printer, at the tail end of the print, so should be exactly what the printer does. The mystery happens right after it's finished a print, in this example, a standard 20mm-tall "XYZ" test cube. The bed backs down about 50mm, moves the head to the rear for easy access, which is correct. What's odd is that it then moves another 100mm Z move. I don't see it in the code, so where could it be coming from? As a double check, I measured from the tip of the nozzle to the final bed position, and sure enough, it's 170mm (cube height, + 50mm mystery move + 100mm commanded move). The last line of code at the bottom really is the last command. Everything below that is usage statistics.

      814ab563-2937-4836-ba71-e7a56c9967e8-image.png

      Scratch-built 350mmx350mm coreXY, linear rails, ballscrews, 3 Z axis, Duet3 6HC, v3.3, Tool Board v1.1, BondTech LGX + Mosquito hot end

      cosmowaveundefined 1 Reply Last reply Reply Quote 0
      • cosmowaveundefined
        cosmowave @kb58
        last edited by

        @kb58 what is in your "print_end.g" macro?

        Mankati FSXT+, DeltaTowerV2, E3D MS/TC

        kb58undefined 1 Reply Last reply Reply Quote 0
        • kb58undefined
          kb58 @cosmowave
          last edited by

          @cosmowave I figured that I'd get around people asking that by posting the above screen shot, which is the actual code sent to the printer 🙂 Anyway, "print_end" is:

          42aa0c42-7c17-47f4-b717-55ea0aa019d3-image.png

          Scratch-built 350mmx350mm coreXY, linear rails, ballscrews, 3 Z axis, Duet3 6HC, v3.3, Tool Board v1.1, BondTech LGX + Mosquito hot end

          cosmowaveundefined 1 Reply Last reply Reply Quote 0
          • cosmowaveundefined
            cosmowave @kb58
            last edited by

            @kb58 There is a G1 Z50 F1200 move in it!

            Mankati FSXT+, DeltaTowerV2, E3D MS/TC

            kb58undefined 1 Reply Last reply Reply Quote 0
            • kb58undefined
              kb58 @cosmowave
              last edited by

              @cosmowave I mispoke previously and you caught me. The first move, the 50mm, is correct, the second 100mm move is not, and I can't see where it's being commanded.

              Scratch-built 350mmx350mm coreXY, linear rails, ballscrews, 3 Z axis, Duet3 6HC, v3.3, Tool Board v1.1, BondTech LGX + Mosquito hot end

              kb58undefined cosmowaveundefined 2 Replies Last reply Reply Quote 0
              • kb58undefined
                kb58 @kb58
                last edited by

                @kb58 Oh geez, I see what you mean now...

                Scratch-built 350mmx350mm coreXY, linear rails, ballscrews, 3 Z axis, Duet3 6HC, v3.3, Tool Board v1.1, BondTech LGX + Mosquito hot end

                1 Reply Last reply Reply Quote 0
                • cosmowaveundefined
                  cosmowave @kb58
                  last edited by

                  @kb58 In line 8500 of your gcode is the 100mm move

                  Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                  kb58undefined 1 Reply Last reply Reply Quote 1
                  • kb58undefined
                    kb58 @cosmowave
                    last edited by

                    @cosmowave Found it.... wow, the consequences of having placed a block of code a ways down the screen and meaning to come back to it. Forgetting about it, all I'd see when checking the file was the first code block.

                    How about you guys just go have a nice day and I'll pretend that I didn't trouble you! Thanks for the quick reply, guys.

                    Scratch-built 350mmx350mm coreXY, linear rails, ballscrews, 3 Z axis, Duet3 6HC, v3.3, Tool Board v1.1, BondTech LGX + Mosquito hot end

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