Current Machine Position Through Object Model
-
Hi all,
Does anybody know of a way that we can pull the current machine position through HTTP requests such as rr_model? Currently , if we use rr_model we are only able to see where the machine is going, not where it is located. Right now, we are finding our machine position through M118 telnet messages imbedded within our gcode. If we could do this externally it would be ideal.
thanks in advance!
-
-
@btmclain have you tried move.axes[N].machinePosition in the object model?
-
@dc42 Hi, thanks for the reply.
Yes we have tried that, unfortunately it only returns the position that the machine is heading. It does not output the current position.
-
@dc42 I should clarify that when we use the move.axes[N].machinePosition in Gcode it works well. When using the rr_model with HTTP, it does not seem to have the same functionality.