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

    Include current mix ratios in M408 report

    Scheduled Pinned Locked Moved
    Firmware wishlist
    2
    3
    172
    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.
    • makotosanundefined
      makotosan
      last edited by

      I would like to be able to easily get the current mix ratios for all of the tools. It would be nice if this was part of the JSON output from M408. The only way that I could figure out from the documentation is to run M567 P* for each tool.
      Maybe something like this as a JSON property:

      mixRatios:[
        [0.00, 0.50, 0.50, 0.00],  // Tool 0
        [1.00, 0.00, 0.00, 0.00],  // Tool 1
        ...
      ]
      

      My idea was to add a graphical way to view and change the mix ratios via the web control, but I didn't want to make a bunch of separate requests to get the ratio for each tool, and JSON from M408 is easier to parse than the text from M567 P0.

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

        When I have added the mix ratio to the RRF object model, you will be able to retrieve them using the M408 P1 command with an appropriate F parameter.

        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

        makotosanundefined 1 Reply Last reply Reply Quote 1
        • makotosanundefined
          makotosan @dc42
          last edited by

          @dc42 Thanks!

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