Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    M408 json documentation mismatch

    General Discussion
    2
    3
    68
    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.
    • resam
      resam last edited by

      I'm running 2.05.1 on a DuetWifi.
      My M408 seems to be different than the documentation:
      https://duet3d.dozuki.com/Wiki/Gcode#Section_M408_Report_JSON_style_response

      Specifically:

      • heater temperatures moved from .heaters[] into .temps.current[]

      Maybe I'm just confused with the old-style M408 vs. M408 S4 type, which also has another breaking change:

      • fraction_printed is actually called fractionPrinted

      Was there a breaking change in recent v2.0x firmwares? Because I'm pretty sure my scripts that sent a plain "M408" over Telnet were working previously, but somehow I discovered both these issues with 2.05.1 today...

      1 Reply Last reply Reply Quote 0
      • resam
        resam last edited by

        @dc42 bump

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

          No, there was no change. The heaters vs. temps.current is a difference between the old style M408 response (M408 S0 or M408 S1) vs. the newer style (M408 S2 or M408 S3). Likewise fraction_printed vs. fractionPrinted.

          Going forward, we don't plan to add any more fields to the M408 responses, because future versions of DWC will use object model queries instead.

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