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

    Telnet, response/feedback when command is complete

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    259
    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.
    • rziundefined
      rzi
      last edited by

      Hello

      Is it possible to get feedback when a command has finished?

      I've build some basic macro things in C# (interfacing my duet with telnet) that is currently not possible with the Duets default macro system. Right now I estimate how long time it will take to perform certain tasks and sometimes I'm using M114 to check if a particular part has finished. But when probing etc there is no way to determine when a command/move is finished.

      Maybe there is a way that I'm not aware of that gives a "Done" when the command queue has finished?

      Regards
      Rickard

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        Unless you have disabled marlin compatibility mode, you should get an OK response when each command has either finished processing, or if it is a movement command, been placed in the movement queue. You can wait until the movement queue is empty by sending the M400 command and waiting for the OK response to that.

        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 1
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA