• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    evomotors
    last edited by 6 Jan 2021, 16:24

    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.

    undefined 1 Reply Last reply 6 Jan 2021, 20:49 Reply Quote 0
    • undefined
      fcwilt
      last edited by 6 Jan 2021, 16:35

      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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

      undefined 1 Reply Last reply 6 Jan 2021, 16:50 Reply Quote 0
      • undefined
        evomotors @fcwilt
        last edited by 6 Jan 2021, 16:50

        @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.

        undefined 1 Reply Last reply 6 Jan 2021, 17:40 Reply Quote 0
        • undefined
          fcwilt @evomotors
          last edited by 6 Jan 2021, 17:40

          @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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          undefined 1 Reply Last reply 6 Jan 2021, 17:42 Reply Quote 0
          • undefined
            evomotors @fcwilt
            last edited by 6 Jan 2021, 17:42

            @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
            • undefined
              T3P3Tony administrators
              last edited by 6 Jan 2021, 17:44

              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
              • undefined
                dc42 administrators @evomotors
                last edited by 6 Jan 2021, 20:49

                @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

                undefined 1 Reply Last reply 6 Jan 2021, 21:10 Reply Quote 0
                • undefined
                  evomotors @dc42
                  last edited by 6 Jan 2021, 21:10

                  @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
                  5 out of 8
                  • First post
                    5/8
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA