Conditional GCode Expressions



  • 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?


  • administrators

    @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.


Log in to reply