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

    Current Machine Position Through Object Model

    Scheduled Pinned Locked Moved
    Gcode meta commands
    2
    4
    233
    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.
    • btmclainundefined
      btmclain
      last edited by btmclain

      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!

      dc42undefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined Phaedrux moved this topic from General Discussion
      • dc42undefined
        dc42 administrators @btmclain
        last edited by dc42

        @btmclain have you tried move.axes[N].machinePosition in the object model?

        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

        btmclainundefined 2 Replies Last reply Reply Quote 0
        • btmclainundefined
          btmclain @dc42
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • btmclainundefined
            btmclain @dc42
            last edited by

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

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