Quote:
Originally Posted by its da PAT!!!
Ok well there's your problem. The solenoid valve needs to be plugged into the solenoid break out on the crio.
and I highlighted cylinder because calling it a piston is a pet peeve of mine. lol
|
You can drive a 12 V solenoid valve with a Spike relay. You can even put multiple solenoid valves on one relay:
Quote:
[R46]
Each power-regulating device (speed controller or relay module) shall control one and only one electrical load (motor, actuator, electric solenoid, or compressor).
Exception: Multiple low-load, pneumatic solenoid valves or lights may be connected to a single relay module. This would allow one relay module to drive multiple pneumatic actions or multiple lights. No other electrical load can be connected to a relay module used in this manner.
|
Is the light flashing or solid? A solid red light means the relay is set to reverse. To set it forward (green light) you need to change the direction of the relay in your code. What language are you using?
EDIT - Seems the OP is trying to use a 24 V solenoid. In that case, you have to use the solenoid breakout. And you do not connect a Spike to the solenoid breakout; you connect the solenoid valve directly to the solenoid breakout. If you want to use a Spike to drive a 12 V solenoid valve, you connect the Spike to the digital sidecar, never to the solenoid breakout.