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

Conditional GCode Expressions

Scheduled Pinned Locked Moved
General Discussion
2
2
243
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
    rabbit
    last edited by 11 Mar 2020, 09:53

    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
    • undefined
      dc42 administrators
      last edited by 11 Mar 2020, 09:58

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