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

    Inverting PS_ON levels

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    pson inverting
    16
    47
    4.6k
    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.
    • Nxt-1undefined
      Nxt-1 @SW
      last edited by

      @sw said in Inverting PS_ON levels:

      PSPA-1000-24

      A quick glance at your PSU's datasheet shows that it's RC logic is inverted compared to most Meanwell's, thus making it directly compatible with the Duet.

      Duet3D and delta printer enthousiast. Buildlog
      Looking for Duet3D configuration support, check out Nxt-3D

      1 Reply Last reply Reply Quote 0
      • Nxt-1undefined
        Nxt-1 @Nxt-1
        last edited by

        @nxt-1 said in Inverting PS_ON levels:

        @tomasf said in Inverting PS_ON levels:

        I had the same problem and solved it with a simple 7400 NAND gate chip: https://forum.duet3d.com/topic/412/inverting-ps_on

        I got myself a couple of 74HC00's to plat with. I assume you you wired your system like this? What value did you use for the pull up?
        0_1558975629650_4dcc05cd-fb6c-479a-a2a8-8bd730f549bf-image.png

        I eventually decided to go with a 10K resistor and all seems to work as expected. I will have to get myself a small proto-board and wire things up neatly.

        Duet3D and delta printer enthousiast. Buildlog
        Looking for Duet3D configuration support, check out Nxt-3D

        1 Reply Last reply Reply Quote 0
        • Nxt-1undefined
          Nxt-1
          last edited by Nxt-1

          I got wired soldered up the proto-board and decided to use the auxilary 5V from the 24V PSU as I was already using the relevant connector. This results in a layout like below (unused gate input are tied to ground).
          The solution is neat and compact, yet as I test it on my machine I find out that the AUXG terminal is not connected to the other grounds (not 240V L-, nor 24V V-). As a result there is to connection between the ground this circuit uses and the ground the duet used for the PS_ON pin. Back to the drawing board I go!
          0_1559921867783_2019-06-07 17.30.01.jpg

          Duet3D and delta printer enthousiast. Buildlog
          Looking for Duet3D configuration support, check out Nxt-3D

          1 Reply Last reply Reply Quote 0
          • Nxt-1undefined
            Nxt-1
            last edited by

            Since the AUXG and RC- terminals are already internally connected according to the datasheet, I decided to add a ring terminal to one of the ground wires I had. That connecting was then connected to V- and now all grounds are connected.
            The system works fine now πŸ™‚

            Duet3D and delta printer enthousiast. Buildlog
            Looking for Duet3D configuration support, check out Nxt-3D

            1 Reply Last reply Reply Quote 0
            • Selecta_Motaundefined
              Selecta_Mota
              last edited by Selecta_Mota

              Hey there πŸ™‚
              I have the same problem with the RSP-500 from MeanWell.
              Is there no chance to change the firmware?
              So M81 pulls the pin to GND and M80 opens it?

              Nxt-1undefined 1 Reply Last reply Reply Quote 0
              • Nxt-1undefined
                Nxt-1 @Selecta_Mota
                last edited by

                @selecta_mota said in Inverting PS_ON levels:

                Hey there πŸ™‚
                I have the same problem with the RSP-500 from MeanWell.
                Is there no chance to change the firmware?
                So M81 pulls the pin to GND and M80 opens it?

                Sadly software changes cannot compensate for things that are not there in hardware. A quick look at your PSU's datasheet shows me that its ON/OFF logic is reversed from mine's. Are you sure you cannot use it as is, maybe with a pullup in there?

                Duet3D and delta printer enthousiast. Buildlog
                Looking for Duet3D configuration support, check out Nxt-3D

                Selecta_Motaundefined 1 Reply Last reply Reply Quote 0
                • Selecta_Motaundefined
                  Selecta_Mota @Nxt-1
                  last edited by Selecta_Mota

                  @nxt-1 the remote is a little different on the RSP.
                  I need 4-10V to turn the PSU off and anything below 4V to turn it on.
                  When there is nothing connected to the pins on the RSP it is on, when it gets GND on pin3 and 5V (from the external 5V supply) on pin4 it turns off.
                  So I just need the outputs of M80 and M81 commands to be switched.

                  1 Reply Last reply Reply Quote 0
                  • fmaundefined
                    fma
                    last edited by

                    The Meanwell logic is a non-sens: if the 5V is lost, the power supply turns on! Looks very dangerous to me...

                    FrΓ©dΓ©ric

                    Selecta_Motaundefined 1 Reply Last reply Reply Quote 0
                    • Selecta_Motaundefined
                      Selecta_Mota @fma
                      last edited by

                      @fma said in Inverting PS_ON levels:

                      The Meanwell logic is a non-sens: if the 5V is lost, the power supply turns on! Looks very dangerous to me...

                      Yeah, I know its kind of awkward but its the only PSU I could find with a bult-in remote.
                      It cant be that hard changing the firmware from 1 to 0 πŸ˜‰ (at least thats what I hope):

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

                        I have it on my RRF 3 work list to add a parameter to M80/M81 to allow the sense of PS_ON to be inverted.

                        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

                        marvineerundefined oozeBotundefined GoremanXundefined 4 Replies Last reply Reply Quote 3
                        • marvineerundefined
                          marvineer @dc42
                          last edited by

                          @dc42 said in Inverting PS_ON levels:

                          I have it on my RRF 3 work list to add a parameter to M80/M81 to allow the sense of PS_ON to be inverted.

                          Hi dc42!
                          Is there anything new to this topic on your work list? πŸ™‚
                          For me it would be extremely helpful to just reverse the pin-logic in my config file somehow

                          1 Reply Last reply Reply Quote 0
                          • oliofundefined
                            oliof
                            last edited by

                            It's on the planned 3.2 feature list.

                            <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                            1 Reply Last reply Reply Quote 0
                            • justus2342undefined
                              justus2342
                              last edited by

                              For anyone still looking for a simple solution for those Meanwell RSP Power Supplys. Here it is.

                              Screenshot.png

                              I implemented and I tested this with my Meanwell RSP-500-24 Power Supply. It works perfectly as intended.

                              There is also a PCB-Layout, but I have not implemented it yet and hence it is untested.

                              PCB.png

                              Tevo Little Monster (Duet2, Smart Effector, lin Rails, Magb. Arms)
                              Anycubic Delta Linear Plus (Duet2, Smart Effector, Magb. Arms)
                              Two Trees Sapphire Pro (MKS Robin, Marlin 2.x, D. Extruder)

                              BoAundefined 1 Reply Last reply Reply Quote 2
                              • oozeBotundefined
                                oozeBot @dc42
                                last edited by

                                @dc42 said in Inverting PS_ON levels:

                                I have it on my RRF 3 work list to add a parameter to M80/M81 to allow the sense of PS_ON to be inverted.

                                Will this make the cut for 3.2? Fingers crossed..

                                1 Reply Last reply Reply Quote 0
                                • BoAundefined
                                  BoA @justus2342
                                  last edited by

                                  @justus2342 Why there is an ext 5V input, while Mean Well RSP has 12V STBY line availabe?

                                  justus2342undefined 1 Reply Last reply Reply Quote 0
                                  • justus2342undefined
                                    justus2342 @BoA
                                    last edited by justus2342

                                    @BoA said in Inverting PS_ON levels:

                                    @justus2342 Why there is an ext 5V input, while Mean Well RSP has 12V STBY line availabe?

                                    I am not sure if we are talking about the same PSU.

                                    I am using the RSP-500-24. In the data sheet I cannot find any information on a 12V STBY line. This is the data sheet:

                                    https://www.meanwell.com/webapp/product/search.aspx?prod=RSP-500

                                    Tevo Little Monster (Duet2, Smart Effector, lin Rails, Magb. Arms)
                                    Anycubic Delta Linear Plus (Duet2, Smart Effector, Magb. Arms)
                                    Two Trees Sapphire Pro (MKS Robin, Marlin 2.x, D. Extruder)

                                    BoAundefined 1 Reply Last reply Reply Quote 0
                                    • BoAundefined
                                      BoA @justus2342
                                      last edited by BoA

                                      @justus2342 OK. Seems not all RSP were create equally πŸ™‚ I use RSP-750-24 and it has 12V 100mA STBY power line πŸ˜‰

                                      1 Reply Last reply Reply Quote 0
                                      • GoremanXundefined
                                        GoremanX @dc42
                                        last edited by

                                        @dc42 said in Inverting PS_ON levels:

                                        I have it on my RRF 3 work list to add a parameter to M80/M81 to allow the sense of PS_ON to be inverted.

                                        I'm not seeing any mention of it in the beta changelogs. Does this mean it didn't make it into the upcoming release? 😞

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

                                          @dc42 said in Inverting PS_ON levels:

                                          I have it on my RRF 3 work list to add a parameter to M80/M81 to allow the sense of PS_ON to be inverted.

                                          This appears to have fallen of the radar and I cannot find the updated work list, nor any mention in the 3.3 beta notes.

                                          Can I please get an update on where this item stands?

                                          Thanks

                                          T3P3Tonyundefined 1 Reply Last reply Reply Quote 2
                                          • T3P3Tonyundefined
                                            T3P3Tony administrators @oozeBot
                                            last edited by

                                            @oozebot having discussed this with @dc42 it is "on the list" for 3.4.

                                            More generally, over time we plan to migrate more of the worklist into feature requests on the GitHub repository. This one was already there: https://github.com/Duet3D/RepRapFirmware/issues/518 So I updated it.

                                            cyrax72 created this issue in Duet3D/RepRapFirmware

                                            closed Add inversion for M80 and M81 commands #518

                                            www.duet3d.com

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