Is it possible to RESET the Duet over the network ?
-
I am remotely logged into a laptop that has a Duet 6XD hanging off it.
I wrote a macro that is in a never ending loop that brings up a message using M291. I hit ok but then the message displays again and there is not enough time to hit the Estop between messages.
Is there a way to send a command to reboot the board from my browser in a remote location?
Thanks Mark
-
-
There is no one to do a hard reset. Or is there a key board short cut to acknowledge the OK on the M291 message and or a keyboard short cut for ESTOP.? Maybe if I can quickly apply the two to get out of the loop.
Thanks again.
-
Hello droftarts,
I cannot run anything from the console unless there is a way to append M999 in the browsers address bar. I am remotely logged in and the Duet has a static IP address 192.168.1.14 in the address bar. Is there some sort of HTML method to POST ??
-
I tried the common keys (ENTER, ESC, DEL, SPACE, BACKSPACE etc ) to acknowledge the M291 message but no luck. I was hoping to hover the cursor over the ESTOP, use a shortcut to acknowledge the M291 message and then press the ESTOP before (very little time) the message comes up again. Regret not putting a pause in the macro.
-
@machinemark Ah, right, you can't click to get to the console. Yes, you can send Gcodes via html. See https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests#get-rr_gcode
Probably have a read of the whole page.Ian
-
Hello droftarts,
I RTFM of both links and had a guess and used;
http://192.168.1.14/rr_gcode?gcode=M999
WOW! That worked.
Back to playing with the Duet.
Thanks again for your help.
-
-
-
@machinemark Great! I haven't used it myself, so didn't want to give you a command to follow, as it might have been wrong! You didn't have to send
http://192.168.1.14/rr_connect?password=
first?Ian