Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Is it possible to turn off power completely using DWC?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    9
    14
    921
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • droftartsundefined
      droftarts administrators @TRATOON
      last edited by

      @tratoon see the section at the end of this page: https://docs.duet3d.com/User_manual/Connecting_hardware/Power_wiring

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      1 Reply Last reply Reply Quote 0
      • DIY-O-Sphereundefined
        DIY-O-Sphere @TRATOON
        last edited by

        @tratoon
        Might be of interest:
        Smart Remote Power Control

        (UTC+1)

        1 Reply Last reply Reply Quote 0
        • 1riundefined
          1ri @TRATOON
          last edited by

          @tratoon

          Try this too, this thread inspired me when i need it

          https://forum.duet3d.com/topic/14428/full-shutdown-after-prints

          1 Reply Last reply Reply Quote 0
          • brsundefined
            brs
            last edited by

            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.

            zaptaundefined 1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @TRATOON
              last edited by

              @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.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              TRATOONundefined 1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @TRATOON
                last edited by

                @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

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                1 Reply Last reply Reply Quote 0
                • zaptaundefined
                  zapta @brs
                  last edited by

                  @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.

                  TRATOONundefined 1 Reply Last reply Reply Quote 0
                  • TRATOONundefined
                    TRATOON @zapta
                    last edited by TRATOON

                    @zapta How would I connect and configure a relay? And could you recommend a relay?

                    zaptaundefined 1 Reply Last reply Reply Quote 0
                    • TRATOONundefined
                      TRATOON @dc42
                      last edited by

                      @dc42 could you recommend a SSR and maybe some instructions on how to wire it?

                      1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by

                        For SSR check for one by Crydom. Such as Crydom D2425.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • zaptaundefined
                          zapta @TRATOON
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • Norderundefined
                            Norder @TRATOON
                            last edited by Norder

                            @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 Zerowatt

                            P.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.

                            DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                            Thingiverse

                            Norderundefined 1 Reply Last reply Reply Quote 0
                            • Norderundefined
                              Norder @Norder
                              last edited by

                              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.

                              Video
                              AVM Website

                              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.

                              DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                              Thingiverse

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Unless otherwise noted, all forum content is licensed under CC-BY-SA