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

    How to get the result of a M command

    Scheduled Pinned Locked Moved Solved
    Gcode meta commands
    2
    3
    244
    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.
    • SIamundefined
      SIam
      last edited by

      Hi,

      I'm sure that I have something overlooked, so sorry for this question...

      How can I get the result of e.g. M573 p0 into a Variable or a File ?

      Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
      Duet WiFi 1.02 or later + DueX5
      RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
      Duet WiFi Server: 1.26
      Duet Web Control 3.4.0beta4 (2021-09-27)

      Aitorundefined 1 Reply Last reply Reply Quote 0
      • Aitorundefined
        Aitor @SIam
        last edited by

        Good morning @siam ,

        Check the object models, in version 3.2 onwards DWC has a plugins to display them, you can also check this section https://duet3d.dozuki.com/Wiki/Object_Model_of_RepRapFirmware#main

        in your case it would be this: heat.heaters[0].avgPwm

        Best regards

        SIamundefined 1 Reply Last reply Reply Quote 2
        • SIamundefined
          SIam @Aitor
          last edited by

          @aitor said in How to get the result of a M command:

          heat.heaters[0].avgPwm

          Thank you that it was 😄

          Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
          Duet WiFi 1.02 or later + DueX5
          RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
          Duet WiFi Server: 1.26
          Duet Web Control 3.4.0beta4 (2021-09-27)

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