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

    Lower bed after print is finished, cartesian XY

    Scheduled Pinned Locked Moved
    General Discussion
    4
    7
    287
    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.
    • brasseundefined
      brasse
      last edited by

      Hey 🙂 I have a CR-5 Pro, cartesian XY, that is the bed moves up and down as Z.

      Is there some clever GCODE to use to lower the bed when a print is finished, but not when the bed is already lowered a bit?

      To clarify a bit, when the print is done, i want to lower the bed to ie. 150mm, but only if the print is not lower than 150mm.

      dc42undefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt
        last edited by

        Hi,

        If you are using v3 firmware (v3.1.1, v3.2) then yes - you could use the conditional code feature to test the current position and move or not based on that.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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

          Well if you use a relative move to lower the bed it will respect the bed axis distance limit. Are you worried it will try to go lower than it physically can?

          Z-Bot CoreXY Build | Thingiverse Profile

          brasseundefined 1 Reply Last reply Reply Quote 0
          • brasseundefined
            brasse @fcwilt
            last edited by

            @fcwilt Oh that sounds interesting, i will look in to that 🙂

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

              @brasse said in Lower bed after print is finished, cartesian XY:

              Hey 🙂 I have a CR-5 Pro, cartesian XY, that is the bed moves up and down as Z.

              Is there some clever GCODE to use to lower the bed when a print is finished, but not when the bed is already lowered a bit?

              To clarify a bit, when the print is done, i want to lower the bed to ie. 150mm, but only if the print is not lower than 150mm.

              This will work if you are using RRF3:

              if move.axes[2].userPosition < 150
                G1 Z150 F1000
              

              Adjust the F parameter as required for your printer.

              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

              brasseundefined 1 Reply Last reply Reply Quote 1
              • brasseundefined
                brasse @Phaedrux
                last edited by

                @Phaedrux Yeah a bit, also a bit worried to hit the print.
                You can never be too safe 😉

                1 Reply Last reply Reply Quote 0
                • brasseundefined
                  brasse @dc42
                  last edited by

                  @dc42 Oh thats clever, just what i was looking for. Thanks 🙂

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