Duet API return current M557 probe points
-
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?
-
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}}
-
This post is deleted! -
@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=
-
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
-
Nevermind I fixed it, was a client issue.