Navigation

    Duet3D Logo

    Duet3D

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

    topic_solved Duet API return current M557 probe points

    Duet Hardware and wiring
    2
    6
    24
    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.
    • nickpm
      nickpm last edited by

      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
      • dc42
        dc42 administrators last edited by dc42

        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}}
        
        1 Reply Last reply Reply Quote 0
        • nickpm
          nickpm last edited by

          This post is deleted!
          dc42 1 Reply Last reply Reply Quote 0
          • dc42
            dc42 administrators @nickpm last edited by dc42

            @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=

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

              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
              • nickpm
                nickpm last edited by

                Nevermind I fixed it, was a client issue.

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