Duet 3 6HC In SBC Mode Reconnect Issue After E-Stop
-
So I am using an Duet 3 6HC in SBC Mode to control my CNC. I have an "Oh Shit" / E-STOP button on my CNC that kills power to the spindle and the Duet 3 6HC that I can press when something goes wrong. It does not kill power to the Pi though. When I turn the machine back on after one of these "Oh Shit" moments there is about a fifty percent chance the Pi will not connect to the Duet 3 6HC. When that happens I have to reboot the Pi to get it to connect. This is not that huge of an issue, but it is a bit annoying when I am trying to get work done. Now I am basically assuming something on the Pi is getting into a weird state due to the sudden loss of communication or from feed back or something. Rebooting the Pi resets something for this connection. What I am wondering is if there is a Linux command I could run that would reset the connection without resetting the whole Pi?
-
You could try
sudo systemctl restart duetcontrolserver sudo systemctl restart duetwebserver
-
Why not set the 6HC for external 5V input and use the same supply you use with the Pi to supply that?
It would keep the Duet CPU running and hopefully avoid such communication loss problems.
-
@Phaedrux You should never need to do something like that after an E-STOP.
@cthulhulabs Are you on v3.3 or newer?
-
@Phaedrux - That did it. Thank you.
@rjenkinsgb - Not a bad idea, but it would require replacing my 5V power supply as I am currently using an official RaspPi USB-C one.
@chrishamm - I am on the stable branch and have installed all updates to my Pi using apt update / apt upgrade. That said, the Machine Specific info is showing it is running 3.3RC3:
which I thought would be upgraded by the apt upgrade.
-
@chrishamm I manually installed the 3.3 release and now the Firmware is showing up correctly. Ill try the E-Stop button a few times and see if that fixed it.
-
@chrishamm Nope. Still fails to connect about half the time. Restarting the duetcontrolserver causes it to reconnect.