Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Discussion: Conditional/Variables and Macros

    Beta Firmware
    3
    5
    125
    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.
    • Danal
      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?

      dc42 1 Reply Last reply Reply Quote 0
      • dc42
        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.

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

          Fantastic. Thanks for the quick response.

          1 Reply Last reply Reply Quote 0
          • gtj0
            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?

            dc42 1 Reply Last reply Reply Quote 0
            • dc42
              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.

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