Duet 3 does not restart
-
@kvi94 Sorry, I haven't been on for a few days. If you didn't get this...
Since you have 24V running always-on it's quite easy to add a 24V-5V DC converter to your circuit (they're cheap and very reliable). With that converter you can run 5VDC always-on to the 6HC board - which will keep the CPU running, and PS_ON always valid. Then you just need to use M80 and M81 to turn the SSR (and motor power) on and off.
Once M80 and M81 work, it's simple enough to hook the button into one of the 6HC IO inputs and have a script execute when the button is pressed. That script just needs to run M80 - power on.
On my system I just have a 5V power supply running always on and I switch the 24VDC supply on/off at the AC input but you don't have to do that - your always-on 24V works ok.
Does that make sense?
Mark
-
-
@kvi94 said in Duet 3 does not restart:
@markz with reference to 6HC connector layout link below. On the left side of the reset button, is 24V always-on (GND,VFUSED). 12V always-on is located between output row(7-9) and thermistor inputs.
https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/33DEuEJZXP16vLbF.huge
Regarding the power control using a SSR and pushbutton, please find below a schematic of my configuration. The input side of the SSR is connected to PSON and GND. Hence, M80 and M81 can be used to control the input power.
Since my pushbutton is LED illuminated, it is wired to the 24V always-on as well.
The scheme I normally suggest is similar to yours, except that it uses a DC-AC SSR to switch the incoming mains, and a mains-voltage push button in parallel with it. The config.g file starts with a M80 command to turn on the SSR, so that you only have to hold the push button down for a fraction of a second.
My scheme does of course mean that you have mains voltage wires going to the push button. An alternative would be to use a small 5V standby PSU to power the bed heater power input, and connect the SSR control terminals to the bed heater output. Then you could use a low voltage push button wired between bed heater output negative and ground.
-
@phaedrux yes it is definitely overkill since I didn't know what to look for when sourcing the fans.
However, when they are running the MCU temp does not rise above 30deg, I don't know if that is a good thing or not.
-
@engikeneer noted, thank you for the info.
-
UPDATE
I managed to get my hands on a miniature pcb relay. The fans are now powered by the PSU and duet3 24V always-on activates the relay coil.
It is working as intended now, M999 does not turn off the board.
I am guessing that power drawn from the 24V always-on should not exceed 100mA, as for now I have around 40mA connected.
Thank you everyone for your inputs
-
Hi,
I updated my firmware from 3.2.2 to 3.3 and now M999 does not restart the board, it turns off. I rolled back to 3.2.2 and tried updating again, but I still face the same issue on 3.3.
@dc42 is something missing in firmware 3.3?
Thank you
-
@kvi94 said in Duet 3 does not restart:
I rolled back to 3.2.2 and tried updating again, but I still face the same issue on 3.3.
Do you mean to say that rolling back to 3.2.2 the board still turns off? If that's the case then it doesn't seem related to 3.3 at all?
-
@phaedrux what I meant is I performed the update twice in case it did not update properly the first time.
However, M999 works perfectly on 3.2.2.
-
Would you be able to test 3.4 Beta3 to see if the problem is still there?
https://github.com/Duet3D/RepRapFirmware/releases/tag/3.4.0beta3
-
@phaedrux yes sure I can test 3.4 B3.
Can I jump from 3.2.2 to 3.4 B3? or should I flash 3.3 before 3.4 B3?
Additionally, should I use Duet3_SDiap32_MB6HC.bin from 3.3 to flash firmware 3.4 B4?
Thank you.
-
@kvi94 are you saying that when you send M999 it turns the power off?
-
@dc42 yes on firmware 3.3.
Should I try 3.4 Beta3?