Send GCODE commands via wifi to Duet3
-
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 be192.100.100.100
with passwordPWD
.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
to192.100.100.100
Does anyone know if it's possible or how can I do it?Thanks
-
@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.
-
@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 awrite to duet
and aread 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!