01-28-2020 11:44 PM
Hi Everyone,
I need a suggestions if anyone worked on this similar kind of project,
We are Trying to control the Pneumatic Valve using Relay to trigger through PCI-6221
If any Reference code kindly share and support me on the same.
01-29-2020 01:06 AM
It can be done, you will need some electric wiring to be done first.
1. The pneumatic value will need to be wired thru a relay - as a relay can actually switch and route the current to run the valve thru it. The TTL Digital out of the PCI card cannot actually power anything. It does output a TTL voltage, but it only as a digitial signal/flag and does not have any current to drive anything..other than maybe an LED.
2. You'd need a Relay that has to meet 2 requirments:
A. Activated by 5 Volts DC - because that's what the PCI digital output voltage is.
B. The Relay side, needs to handle DC or AC. Very likely your valve runs by 24VDC.
3. You need a VDC power supply to actually power the value -again as the PCI NI card cannot do this.
Google, DC Relay wiring...
Regards
Jack