Change the positive potential on the pin. (SMC vacuum switch)
-
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.
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.
-
@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.
-
@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
-
Why the negative vote?
-