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

    Calibrating a delta printer using conditional GCode

    Scheduled Pinned Locked Moved
    Beta Firmware
    7
    11
    514
    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.
    • A Former User?
      A Former User
      last edited by

      This is better than sliced bread!

      1 Reply Last reply Reply Quote 0
      • garyd9undefined
        garyd9
        last edited by

        I'm curious to know what might be used with the "Move" construct. The example shows "Move.Axes[]" and "Move.CalibrationDeviation", but I don't see anything showing what else is available.

        For example, the homing script might be modified to continue attempting to re-calibrate until either 5 iterations are reached, OR the difference between the "deviation before" and "deviation after" is less than 0.02.

        "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

        dc42undefined 1 Reply Last reply Reply Quote 0
        • infiniteloopundefined
          infiniteloop @dc42
          last edited by

          @dc42 When dreams come true…

          Just one question: it looks like „iterations“ is an implicit property of the while loop. If so, can I change that property from within the loop? Or can I evaluate it in a conditional statement?

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

            @infiniteloop said in Calibrating a delta printer using conditional GCode:

            @dc42 When dreams come true…

            Just one question: it looks like „iterations“ is an implicit property of the while loop. If so, can I change that property from within the loop? Or can I evaluate it in a conditional statement?

            You can use it in any expression, including a condition ('if', 'while' etc.) but you can't change it. Currently you can't define your own variables, so I included 'iterations' to make counted loops possible.

            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
            • dc42undefined
              dc42 administrators @garyd9
              last edited by

              @garyd9 said in Calibrating a delta printer using conditional GCode:

              I'm curious to know what might be used with the "Move" construct. The example shows "Move.Axes[]" and "Move.CalibrationDeviation", but I don't see anything showing what else is available.

              See https://forum.duet3d.com/topic/13797/where-can-i-find-rrf3-0-object-model-reference-material.

              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
              • DaBitundefined
                DaBit
                last edited by

                Ooooohhhhhh yeah! More intelligent nozzle wipe process on toolchange possible soon!

                Anxiously awaiting the beta..

                1 Reply Last reply Reply Quote 0
                • Danalundefined
                  Danal
                  last edited by

                  Wowzers!!! That is FANTASTIC and what a great starting 'proof'.

                  Now I have a reason to go RRF3 on my Duet2 hardware!

                  Delta / Kossel printer fanatic

                  1 Reply Last reply Reply Quote 0
                  • fmaundefined
                    fma
                    last edited by

                    wouldn't it be better to use '==' for comparison, rather than '='?

                    Frédéric

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

                      @fma said in Calibrating a delta printer using conditional GCode:

                      wouldn't it be better to use '==' for comparison, rather than '='?

                      Why? But the syntax allows both anyway.

                      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
                      • fmaundefined
                        fma
                        last edited by

                        To avoid confusion with variable assignement, but I just saw in the documentation than you will use 'set' for that purpose. Good to have both notations.

                        Frédéric

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