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

Duet API return current M557 probe points

Scheduled Pinned Locked Moved Solved
Duet Hardware and wiring
2
6
208
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.
  • undefined
    nickpm
    last edited by 1 Jun 2020, 18:28

    Does anyone know if there is a query I can send to the machine to return the current X and Y ranges for the M557 command. So if in my config.g I have a M557 X0:100 Y0:100 S20 and then at some point I send the duet a M557 X0:50 Y0:50 S10 is that saved somewhere in the status type 1, 2, or 3 response?

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by dc42 6 Jan 2020, 18:42 1 Jun 2020, 18:41

      Using RRF 3.1.1:

      m409 k"move.compensation.probeGrid"
      {"key":"move.compensation.probeGrid","flags":"","result":{"radius":140.0,"xMax":140.0,"xMin":-139.9,"xSpacing":28.0,"yMax":140.0,"yMin":-139.9,"ySpacing":28.0}}

      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
      • undefined
        nickpm
        last edited by 1 Jun 2020, 19:12

        This post is deleted!
        undefined 1 Reply Last reply 1 Jun 2020, 19:20 Reply Quote 0
        • undefined
          dc42 administrators @nickpm
          last edited by dc42 6 Jan 2020, 19:21 1 Jun 2020, 19:20

          @nickpm said in Duet API return current M557 probe points:

          How do I actually send that request to get a response back? I can't use :
          rr_gcode?gcode=M409 k"move.compensation.probeGrid"
          because that doesn't send anything.

          To send it as a GCode command over HTML you need to URL encode it, for example replacing spaces by %20.

          Should I be using rr_model?

          Yes, use: rr_model?key=move.compensation.probeGrid&flags=

          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
          • undefined
            nickpm
            last edited by 1 Jun 2020, 19:28

            So I'm sending this now:
            /rr_model?key=move.compensation.probeGrid&flags=d99vn and I'm getting a failed response that just says E
            7bb055c7-e13c-4f0b-88b4-3e8b2d167dd8-image.png

            1 Reply Last reply Reply Quote 0
            • undefined
              nickpm
              last edited by 1 Jun 2020, 19:31

              Nevermind I fixed it, was a client issue.

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