We have all of our pneumatic system plumbed according to the rules but FRC is pretty vague on how to wire the solenoid and how to give everything power.
So a few questions:
How does a compressor get power in general?
Starting from the PDB, can you explain how the solenoid is connected?
Can you please explain how a solenoid and a spike relay are connected?
If we use a spike relay, do we still need to use the cRIO?
If we do need to use the cRIO, what things need to be connected to the Solenoid breakout on the NI 9472?
Compressor is normally powered by a spike, since it is just I/O
The solenoid comes off the solenoid breakout. The breakout is powered either to 24 or 12 volts, depending on which solenoid you have (it should be labeled). So, PDB to solenoid breakout on the cRIO, and from the 8 inputs on there, you put one or two two wire signal cables. Dual action solenoid gets 2, single action gets 1
Solenoids can be powered from a spike, but I myself have never tried this, so someone will have to walk you through it.
If you are using a robot, you need a cRIO. however, if you use a spike, you will wire it to the digital sidecar, whereas my way you wire to the solenoid breakout board on module 9472. If you use a spike, this module is unnecessary. However, you still need the cRIO for at least the module that connects to the digital sidecar (9403). Either way, you still need a cRIO
5)On the solenoid breakout board, you need the top attachment (the Solenoid breakout itself mounted on the 9472 module. And on the board, you ned to have the signal wirees to the solenoid (one on each side, or just one for signle action)
The image is a double action solenoid, but it does not show that there are two wires to each side. ‘-’ and ‘signal’ are marked on the digital breakout, so just follow what it says and wire ‘-’ to black and ‘signal’ to red on the solenoids. A double action solenoid will require two sets of pins. For ease of connection, you can cut one pin off of a PWM and it fits fine on the breakout.
Sarah,
There is a diagram on the side of the solenoid module that shows how to wire the loads (solenoids) to the module. The external power Vsup is wired to the PD. If you are using 24 volt solenoids this can be wired in parallel with the power wiring feeding the cRio. COM is wired to the black terminal on the PD. The solenoid then takes the place of “device” on the drawing. “DO” is one of the digital outputs of the module labeled DO0-DO7.
The other answers are correct to your questions.
Of course, that is assuming you receive the entire KOP. Being in a “third world” country where many items disappear in customs makes one a little more resourceful. We didn’t even get our KOP until 9 days after kickoff!
What I wouldn’t do to have a Home Depot or Lowe’s nearby…
Okay so after some tweaking today, we got our solenoid to work using the manual buttons on the solenoid valve.
How is the wiring supposed to go between the solenoid and the solenoid breakout on the cRIO?
Assuming you are using the 24v Kit solenoids, the solenoid breakout gets 24v power from the unused screw connections shared with the cRIO power on the Power Distribution Panel.
We are using the 24v Kit solenoids. How do the wires connect?
We have the red and the black that go on the solenoid stripped and connected to another pair of red and black wires that plug into the two pins on the solenoid breakout…but I have a feeling that it isn’t right