Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    1XD Expansion: PNP vs NPN Control

    Duet Hardware and wiring
    2
    8
    145
    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.
    • p8blr
      p8blr last edited by

      On the wiki the single-ended schematic shows a NPN configuration (+ signals held high and - signals switched) and I want to know if a PNP configuration would work as well (- signals grounded and + signals switched) ?

      duet1dxwiring.PNG

      Thank you

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

        @p8blr it would work if you connected the + inputs of the driver to +5V from the 1XD and the - inputs to the corresponding outputs of the 1XD.

        However, with your existing wiring there is no need to connect STEP- DIR- and ENA- of the driver to GND unless they are already commoned in the driver. If they are independent of each other then you can connect them to the corresponding outputs of the EXP1XD board instead.

        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

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

          @dc42 My driver isn't compatible in a differential configuration unfortunately. I would prefer to use the + signals on the 1XD (PNP) if possible.

          PNP_NPN_switching-outputs.jpg

          I'm just wondering how the 1XD works, and if it can be configured as either PNP or NPN signals?

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

            @p8blr if your driver has optically isolated inputs that are compatible with both PNP and NPN style control, then it should also compatible with differential inputs. Please post a link to the driver manual so that I can check this.

            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

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

              @dc42 Sure. https://teknic.com/files/downloads/clearpath_user_manual.pdf

              On page 49, see the "Engineer's Note".

              There's a reason I would prefer PNP though, I'm wanting to also use the enable signal to disable a servo brake when the servo becomes enabled.

              Thanks.

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

                @p8blr yes you can use the differential outputs from the 1XD with those ClearPathdrivers, because the 1XD provides 5V swing instead of the usual 3V for differential signals. You would not need to use the 1K resistors even if the cables are long.

                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

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

                  @dc42 But, back to my initial question, can I use PNP?

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

                    @p8blr your wiring diagram shows that you are already using PNP-style connection.

                    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

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