Is it possible to turn off power completely using DWC?
-
Right now, when a print finishes, the power is still on is there anyway to completely turn it off, basically act like the power switch has been turned off. And also be able to shut-off the printer remotely.
-
@tratoon see the section at the end of this page: https://docs.duet3d.com/User_manual/Connecting_hardware/Power_wiring
Ian
-
@tratoon
Might be of interest:
Smart Remote Power Control -
Try this too, this thread inspired me when i need it
https://forum.duet3d.com/topic/14428/full-shutdown-after-prints
-
I use a SSR to provide 120vac to the main power supply. Currently the SSR is controlled by a 5v power supply. However it seems that if the SSR is driven by the Duet3 board, which can be controlled by G-code, then all it would need is a momentary switch to power up the SSR thus the Duet3.
More details need to be worked out but I believe this would be a workable solution if you don't have an ATX ps.
-
@tratoon a common approach is to feed mains power to the PSU through a SSR and have the Duet control the SSR from its PS_ON output. The first line of the config.g file is M80 to turn the SSR on, and you can use M81 at the end of the print file or in stop.g to turn it off. To turn the printer on, use a mains voltage rated push button to bypass the SSR.
-
@tratoon Also, in the latest/current version of RepRapFirmware (v3.4 and later), the first M80/M81 command needs to define the pin used to control the PSU/SSR. See https://docs.duet3d.com/en/User_manual/Reference/Gcodes/M80
In RRF 3.4.0beta6 and later, M80 will do nothing unless you have previously allocated a pin to control power using either M80 or M81 with C parameter. This would normally be done in the config.g file.
Ian
-
@brs said in Is it possible to turn off power completely using DWC?:
I use a SSR to provide 120vac to the main power supply.
I use a relay. Feels safer this way.
-
@zapta How would I connect and configure a relay? And could you recommend a relay?
-
@dc42 could you recommend a SSR and maybe some instructions on how to wire it?
-
For SSR check for one by Crydom. Such as Crydom D2425.
-
@tratoon said in Is it possible to turn off power completely using DWC?:
@zapta How would I connect and configure a relay? And could you recommend a relay?
My printer has a DIN rail so I used this carrier https://www.amazon.com/gp/product/B00UA46BFEand soldered this 24V replacement relay https://www.newark.com/potter-brumfield-te-connectivity/t9as1d12-5/relay-spst-no-240vac-28vdc-30a/dp/26M8314?ost=t9as1d12-5
The relay connects like an SSR but potentially you also need to connect a reversed diode. I don't remember if the PCB above already has a diode, If you want to go this route, I can check my computer.
I think that a relay is less likely than an SSR to fail in a permanently shorted state, but I am not an expert.
-
@tratoon
Buy the "AES3.2 Zerowatt" socket from Ansmann.
It monitors the quiescent current of your printer and when this is reached, it automatically switches the printer off.Your printer will also be switched off if you are not at home or if the printer prints overnight while you are sleeping.
Here's a video about it... YouTube
Turn on the subtitles if you don't understand German.Here is a link to the big A...
ANSMANN AES3.2 ZerowattP.S.:
Short explanation.
You learn the socket and it then measures for a few minutes how high the quiescent current is when the printer is only switched on, i.e. no bed heating is running or the print head is heated or similar.If the printer then prints something later and thus consumes more power than when it was idle, the socket notices and does nothing.
When the print is finished and the quiescent current is reached because all heaters and motors etc. are no longer working, the socket notices this and then switches the current off completely after about 2 minutes.You can then place the button on the socket next to your keyboard.
Google Translate
----- Original Text -----Kauf Dir die „AES3.2 Zerowatt“ Steckdose von Ansmann.
Sie überwacht den Ruhestrom Deines Druckers und wenn dieser erreicht ist, schaltet sie den Drucker automatisch aus.So wird Dein Drucker auch ausgeschaltet wenn Du mal nicht zuhause sein solltest oder der Drucker über Nacht druckt wärend Du schläfst.
Hier ein Video dazu... (Link siehe oben)
Schalte den Untertitel ein, falls Du kein Deutsch verstehen solltest.Hier ein Link zum großen A...
(Link siehe oben)P.S.:
Kurze Erklärung.
Man lernt die Steckdose an und sie misst dann für wenige Minuten wie hoch der Ruhestrom ist, wenn der Drucker nur angeschaltet ist, also keine Bettheizung läuft oder der Druckkopf geheizt wird o.ä..Wenn der Drucker dann später etwas druckt und dadurch mehr Strom verbraucht wie im Ruhestand, merkt das die Steckdose und macht nichts.
Ist der Druck dann beendet und der Ruhestrom wird erreicht weil alle Heizungen und Motoren etc. nicht mehr arbeiten, dann bemerkt das die Steckdose und schaltet dann nach etwa 2 Minuten den Strom komplett aus.Den Taster von der Steckdose kannst Du dann ja neben Deine Tastatur stellen.
-
If you have a Fritz Box router, the automatic switch-off in standby mode of the printer also works with a Fritz socket (for example: AVM FRITZ! DECT 200), where you can set the voltage and the time.
For example, if there is 20 watts in the socket for 10 minutes, it switches itself off.Google Translate
----- Original Text -----Wenn Du einen Fritz Box Router hast, dann funktioniert das automatische ausschalten im Standby Betrieb des Druckers auch mit einer Fritz Steckdose (zum Beispiel: AVM FRITZ! DECT 200), dort kannst Du die Spannung einstellen und die Zeit.
Befindet sich zum Beispiel 20 Watt für 10 Minuten an der Steckdose, dann schaltet sie sich ab.