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

    Is there any way to detect if G32 is already been executed?

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    4
    8
    320
    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.
    • evomotorsundefined
      evomotors
      last edited by

      Is there any way to detect if G32 is already been executed? I want to test if in the bed.g and perform leveling only if it's not already done.

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

        It's probably best to go ahead and always to the G32.

        That way if something has knocked the bed out of level (which the firmware won't know) the bed will end up level.

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        evomotorsundefined 1 Reply Last reply Reply Quote 0
        • evomotorsundefined
          evomotors @fcwilt
          last edited by

          @fcwilt said in Is there any way to detect if G32 is already been executed?:

          It's probably best to go ahead and always to the G32.

          That way if something has knocked the bed out of level (which the firmware won't know) the bed will end up level.

          Frederick

          Possibly, but unlikely in my setup.

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

            @evomotors said in Is there any way to detect if G32 is already been executed?:

            Possibly, but unlikely in my setup.

            I agree it may not be likely but it has happened to me.

            And given that, for me, the printing phase is measured in hours I don't worry about a bit of extra time doing something like G32 that may have already been done.

            Frederick

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

            evomotorsundefined 1 Reply Last reply Reply Quote 0
            • evomotorsundefined
              evomotors @fcwilt
              last edited by

              @fcwilt said in Is there any way to detect if G32 is already been executed?:

              @evomotors said in Is there any way to detect if G32 is already been executed?:

              Possibly, but unlikely in my setup.

              I agree it may not be likely but it has happened to me.

              And given that, for me, the printing phase is measured in hours I don't worry about a bit of extra time doing something like G32 that may have already been done.

              Frederick

              Still, the question is how to detect. Not if it's a good practice or not.

              1 Reply Last reply Reply Quote 0
              • T3P3Tonyundefined
                T3P3Tony administrators
                last edited by

                G32, unlike mesh bed levelling, is not a state the printer is in, but rather a compensation or calibration sted, there is no flag that is set to say "g32 has been run" since last boot. When variables are added to RRF (3.4 is the time table AFAIR) then you will be able to set a variable at the end of your bed.g and then check for that at the beginning.

                www.duet3d.com

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

                  @evomotors, I am out of the office right now, however I think you can tell whether G32 has been run by inspecting object model value move.calibration.deviation.

                  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

                  evomotorsundefined 1 Reply Last reply Reply Quote 0
                  • evomotorsundefined
                    evomotors @dc42
                    last edited by

                    @dc42 said in Is there any way to detect if G32 is already been executed?:

                    @evomotors, I am out of the office right now, however I think you can tell whether G32 has been run by inspecting object model value move.calibration.deviation.

                    Yes, that will work. Just need to check what is the value after power up. Thank you.

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