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

    Discussion: Conditional/Variables and Macros

    Scheduled Pinned Locked Moved
    Beta Firmware
    3
    5
    283
    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.
    • Danalundefined
      Danal
      last edited by

      With the implementation of conditional G-Code, the object model, and variables in G-Code, what is the design intent for:

      • Arguments to macros
      • Returning values from macros to other macros
      • Returning values from macros to the invoking M98
      • Invoking macros in conditional/variable and returning values

      If any?

      Delta / Kossel printer fanatic

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

        Those are all planned. I haven't yet decided how to integrate macro parameters with variables, which is one reason why I haven't implemented variables yet.

        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 1
        • Danalundefined
          Danal
          last edited by

          Fantastic. Thanks for the quick response.

          Delta / Kossel printer fanatic

          1 Reply Last reply Reply Quote 0
          • gtj0undefined
            gtj0
            last edited by

            @dc42 @chrishamm Is there a timeframe for being able to use the conditional stuff in an SBC environment? Which component would actually execute the macro and do the evaluation, the Duet or the SBC? If the SBC, will the models be in sync by then so the same macro can be used in either standalone or SBC mode?

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

              @gtj0 said in Discussion: Conditional/Variables and Macros:

              @dc42 @chrishamm Is there a timeframe for being able to use the conditional stuff in an SBC environment? Which component would actually execute the macro and do the evaluation, the Duet or the SBC?

              The SBC.

              If the SBC, will the models be in sync by then so the same macro can be used in either standalone or SBC mode?

              Yes.

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