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

    Send GCODE commands via wifi to Duet3

    Scheduled Pinned Locked Moved
    Duet Web Control
    wifi
    2
    3
    438
    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.
    • ale.fdezsuarezundefined
      ale.fdezsuarez
      last edited by

      Hello everyone. I would like to know if there is a possibility to send commands to my printer controlled with a Duet 3 MB 6HC board.
      I currently have it connected to an IP which for example could be 192.100.100.100 with password PWD.

      Currently I can send the gcode messages through the Duet Web Control application, but I would like to know if with some tool like putty, YAT or similar I can send that commands directly to the printer via wifi without going through the DWC.

      For example, I would like to send a G28 to 192.100.100.100
      Does anyone know if it's possible or how can I do it?

      Thanks

      dc42undefined 1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @ale.fdezsuarez
        last edited by dc42

        @ale-fdezsuarez you can send commands via http using a program such as curl. See https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests. You need to use rr_connect to establish a connection, then you can send commands using rr_gcode. Use rr_disconnect when you have finished, to avoid tying up resources on the Duet.

        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

        ale.fdezsuarezundefined 1 Reply Last reply Reply Quote 0
        • ale.fdezsuarezundefined
          ale.fdezsuarez @dc42
          last edited by ale.fdezsuarez

          @dc42 Perfect, I'm going to do some research as I'm pretty new to this stuff (including curl).
          As far as I know I can implement a file in c++ for example in which I can do a write to duet and a read from duet using this library, right?

          That's why I was asking if there was any commercial software that already implemented this type of function so that I could do some quick tests on how it works.

          Or if I write something like:

          curl "http://192.100.100.100/rr_connect? password=PWD"
          

          It will work?

          Thank you so much!

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