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

    G-code for printing with independent lead screws.

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    5
    490
    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.
    • Surgikillundefined
      Surgikill
      last edited by

      So I'm wondering how I should set up my start g-code for prints. I'm using 4 independent lead screws for bed leveling. My current g-code is G32, then G28, so it does the bed tramming/leveling and then it rehomes. Should it be set up this way or should I just leave it as G32?

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        G32 and then G28 is how I would do it, because the leveling may change the Z height. Homing afterwards will reestablish the Z0 position.

        Z-Bot CoreXY Build | Thingiverse Profile

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

          You could do G32 then G28 Z so that it only rehomes the Z axis.

          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
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            I guess you could just add a single G30 at bed center to the end of bed.g (G32).

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • grizewaldundefined
              grizewald
              last edited by

              I set the start code in my slicer (Cura) to just send G32 after the code which gets the bed and hot end up to temperature.

              The code in bed.g starts by clearing any active transforms with an M561. Then it homes all axes with G28, probes my two independent bed leadscrews with G30, moves back to the Z probe point and re-homes Z only with G30 and then finally loads and activates the height map.

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