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

    Ps-on / PS-off Duet3 6HC

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    39
    2.2k
    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.
    • oozeBotundefined
      oozeBot @Heartleander81
      last edited by

      @heartleander81 I think you should do some testing between the two power supplies first to validate. If it works, then I believe you are right.

      Heartleander81undefined 1 Reply Last reply Reply Quote 0
      • Heartleander81undefined
        Heartleander81 @oozeBot
        last edited by

        @oozebot I connected RC + 5v and RC- to GND but the power supply did not switch off. I'm afraid that my power supply has a fault. I contacted Meanwell to see if they can give me information on how I can test whether my power supply has a fault or not because it does not work as described in the instructions

        oozeBotundefined 1 Reply Last reply Reply Quote 0
        • oozeBotundefined
          oozeBot @Heartleander81
          last edited by

          @heartleander81 Sorry to hear that - that model appears to work differently than many of the others. Where the two power supplies negative terminals tied together?

          Heartleander81undefined 3 Replies Last reply Reply Quote 0
          • Heartleander81undefined
            Heartleander81 @oozeBot
            last edited by

            @oozebot I can already find a solution 🙂 I hope Meanwell answers promptly so that I can find out and possibly make a repair or get an exchange because it has a 3 year guarantee.

            1 Reply Last reply Reply Quote 0
            • Heartleander81undefined
              Heartleander81 @oozeBot
              last edited by

              @oozebot I doun't know why, but now is it work.

              I think it was a Bad connection on the power supply.

              1 Reply Last reply Reply Quote 0
              • Heartleander81undefined
                Heartleander81 @oozeBot
                last edited by Heartleander81

                @oozebot so there is no question now.

                1 Reply Last reply Reply Quote 0
                • Heartleander81undefined
                  Heartleander81
                  last edited by

                  So now It runs. But when I switch from off to on I must reset the duet3 6hc to connect my tool board.

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

                    @heartleander81 is should be sufficient to re-run config.g.

                    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

                    Heartleander81undefined 1 Reply Last reply Reply Quote 0
                    • Heartleander81undefined
                      Heartleander81 @dc42
                      last edited by

                      @dc42
                      An M999 is also possible.
                      Only when I want to pack this into a Gcode print file does it skip the M999 command because a print has started.
                      I thought that after printing with M81 S1 I would switch off the power supply and switch on the power supply with a new M80 print job, but because the M999 command in the start code does not work, this is currently not possible.
                      It is no problem to switch to on by hand and then run an M999.

                      The method with the start code would be luxury if possible

                      oozeBotundefined 1 Reply Last reply Reply Quote 0
                      • oozeBotundefined
                        oozeBot @Heartleander81
                        last edited by oozeBot

                        @heartleander81 Here is a snippet from our power toggle macro that might assist:

                        if boards[0].vIn.current > 22
                        	M291 R"Turn on power?" P"Are you sure you want to turn on power?" S3
                        	M999 A1   ; Soft-reset PanelDue
                        	M999      ; Soft-reset Mainboard
                        else
                        	M291 R"Turn off power?" P"Are you sure you want to turn off power?" S3
                        	M0        ; Unconditional stop
                        	M81 S1    ; Power off 24v power supply
                        	G4 S1     ; Pause for one second
                        	M999 A1   ; Soft-reset PanelDue
                        

                        ** edit ** the M80 is in our config.g

                        M80 C"!pson"
                        M80
                        
                        Heartleander81undefined 1 Reply Last reply Reply Quote 0
                        • Heartleander81undefined
                          Heartleander81 @oozeBot
                          last edited by Heartleander81

                          @oozebot yes M80 C"!pson" have I in my config. Must M80 in the config.g?
                          When I turn the Main switch on then is all ok. All start and the tool board is there.
                          But when I switch with Software off and then on there is no thermistor there. After M999 is all good.

                          How make I this with the macro?

                          I've never worked with macros so I don't know how to do it.

                          [ Edit ]

                          I have copy your macro.
                          I must changes > TO < then work power of but power not.
                          With M80 in the macro goes the PSU on but the M999 will not be performed.

                          Without M80 and M80 in the Firmware do the macro nothing from off to on.

                          1 Reply Last reply Reply Quote 0
                          • Heartleander81undefined
                            Heartleander81
                            last edited by

                            if boards[0].vIn.current < 22
                            
                            	M291 R"Turn on power" P":-)" S1 T5
                                    M80
                                    G4 S1
                                    M999 ; Soft-reset Mainboard
                                    ;M999 A1 ; Soft-reset PanelDue
                            
                            else
                            
                            	M291 R"Turn off power" P" Zzzz" S1 T5
                            	M81 S1 ; Power off 24v power supply
                            	;G4 S1 ; Pause for one second
                            	;M999 A1 ; Soft-reset PanelDue
                            

                            That is what I use. I doun't have a PanelDue to time but is the next what I buy

                            oozeBotundefined 1 Reply Last reply Reply Quote 0
                            • oozeBotundefined
                              oozeBot @Heartleander81
                              last edited by

                              @heartleander81 Awesome! Glad you got it working..

                              1 Reply Last reply Reply Quote 0
                              • Heartleander81undefined
                                Heartleander81
                                last edited by

                                @oozebot not completed. At power on doun't come M999 AMD the board stand at working

                                oozeBotundefined 1 Reply Last reply Reply Quote 0
                                • oozeBotundefined
                                  oozeBot @Heartleander81
                                  last edited by

                                  @heartleander81 that's why the M80 is in our config.g..

                                  Heartleander81undefined 1 Reply Last reply Reply Quote 0
                                  • Heartleander81undefined
                                    Heartleander81 @oozeBot
                                    last edited by

                                    @oozebot to time I doun't have M80 in the config.g.
                                    M999 is not executed because the board is busy. The next step would be M999 but it will not be executed

                                    1 Reply Last reply Reply Quote 0
                                    • Heartleander81undefined
                                      Heartleander81
                                      last edited by

                                      I think that an M999 cannot be executed by a macro. I commented out all M999 and the macro is running. I added an G4 S5 and then M98 P "config.g" after the M80, which works. I only get 2 error messages that read as follows.

                                      Warning: Board 20 does not have input handle 3000
                                      Warning: Board 20 does not have input handle 1000

                                      what are the warnings and how can you turn them off?

                                      if boards[0].vIn.current < 22
                                      
                                      	M291 R"Turn on power" P":-)" S1 T5
                                              M80
                                              G4 S4
                                              M98 P"config.g"
                                      
                                      else
                                      
                                      	M291 R"Turn off power" P" Zzzz" S1 T5
                                      	M81 S1 ; Power off 24v power supply
                                      	
                                      
                                      oozeBotundefined 1 Reply Last reply Reply Quote 0
                                      • oozeBotundefined
                                        oozeBot @Heartleander81
                                        last edited by

                                        @heartleander81 I just tested with a single line macro that only contains "M999" and it is properly restarting. This is on 3.4b4 but I'm certain it works on 3.3 as well.

                                        Heartleander81undefined 1 Reply Last reply Reply Quote 0
                                        • Heartleander81undefined
                                          Heartleander81 @oozeBot
                                          last edited by

                                          @oozebot i use RFF 3.4b4. Can you test the complet macro without M98 but with M999?

                                          oozeBotundefined 1 Reply Last reply Reply Quote 0
                                          • oozeBotundefined
                                            oozeBot @Heartleander81
                                            last edited by

                                            @heartleander81 said in Ps-on / PS-off Duet3 6HC:

                                            @oozebot i use RFF 3.4b4. Can you test the complet macro without M98 but with M999?

                                            I do believe the status becomes busy when M98 is run. I can try to test this soon, but just started a job on the printer I was testing with.

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