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

    Change the positive potential on the pin. (SMC vacuum switch)

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    5
    198
    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.
    • Razaniundefined
      Razani
      last edited by Razani

      Hi,
      please, I need a little help with wiring up the vacuum switch.
      I have Duet 3 Mainboard 6HC.
      Switch is SMC ZK2-ZSVB-A. It has a PNP output.
      9c9c9c51-deda-4e6e-ba89-e462d5139c6f-image.png

      I need to change the positive potential on the white and gray wires.
      I did not find any pin on the Duet where the potential could be changed from 0V to 24V.
      The output pins act as ground connections when powered up via M42.
      Do you have any ideas? Is it possible to connect this vacuum switch without any external switches or transistors?

      The black wire has a 0V or 5V output. If I want to find out what its value is, should I connect it, for example, to the IO_7 connector on the io7.in pin? And the Duet should indicate 5V on io7.in as a closed switch. Or am I wrong?

      Brown - VIN (24V)
      Blue - GND
      Black - io7.in
      Gray - ?
      White - ?

      Thank you very much and I apologize if it doesn't make sense.

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

        @Razani I assume it is just the vacuum switch that you want to connect to the Duet, not the valve as well. See the instructions for connecting a PNP-output Z probe at https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_connecting#pnp-output-normally-open-inductive-or-capacitive-sensor.

        It's better to choose NPN-output sensors if you can, because they can be connected to Duets without the resistors needed when connecting PNP output sensors.

        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

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

          @dc42 I want to switch valve with Duet.
          I simply need the duet to act as a switch between the valve wire and the 24V on the duet. So sometimes there is 24V (positive potential) on the wire and sometimes not. And control it with some M command.

          Or I use some external PNP transistors as switches .. and switch them with the output pins (M42) on port Out4 for example.

          thanks for advice

          1 Reply Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe
            last edited by

            Why the negative vote?

            infiniteloopundefined 1 Reply Last reply Reply Quote 0
            • infiniteloopundefined
              infiniteloop @o_lampe
              last edited by

              @o_lampe

              Why the negative vote?

              Which negative? 😊

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