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

    Conditional GCode Expressions

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    262
    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.
    • rabbitundefined
      rabbit
      last edited by

      Hi,
      I would like to add a single hardware button, that load/unload filament. For that I need filament expressions,which return a boolean if filament is loaded . Eg. filament.loaded
      Is there a compilation of the expressions, which are implemented?

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

        @rabbit said in Conditional GCode Expressions:

        Is there a compilation of the expressions, which are implemented?

        Not yet because the Object Model is still being added too. There are omre new entries coming in RRF 3.01-RC4, after that it should be more stable.

        You can explore the OM provided by your version of RRF like this:

        1. Send: M409 without parameters. This will list the top-level elements in the 'response' field.

        2. For each of those top-level elements (or just the ones you are interested in), send: M409 K"xxx" where xxx is the element. Paste the response into https://codebeautify.org/jsonviewer and click Tree Viewer to make ti easy to read and navigate.

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