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

    get output from M409 into macro variable

    Scheduled Pinned Locked Moved
    Gcode meta commands
    1
    1
    111
    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.
    • hlwerschnerundefined
      hlwerschner
      last edited by

      As the title says: how can I access some part of the object model within a macro to handle some set of values (example: all global variables with names and values) programmatically?

      My intention is to save all defined global variables after config.g execution and later be able to restore those variables after a 2nd M999 to allow some persistent value use. Currently I do it with a large macro where I am forced to use individual "global xxx ..." and "set global.xxx ..." commands with lots of chances to include missmatches and/or wrong assignments.

      I also did not find a possibility to write and re-read json-formatted data to/from sd-card. any chance to get this?

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