Quote:
Originally Posted by ahudson
Our team is stuck with the same problem. We have wired it following the directions given above, but still when we turn the power on the compressor does not turn on. Is the light on the spike relay supposed to be red? Does it have to be programmed to make the compressor come on or should it come on directly from the power?
|
Assuming it is wired correctly you now need to program the cRIO to read the pressure switch and depending on the state of the pressure switch you either turn on or off the Spike relay control bit. Sorry I do not have any programing code for you.
A few pointers:
For the pressure switch which is nothing more then a SPST switch that is OPEN when the pressure is low and then CLOSES when the pressure is high. Just two states for the pressure switch, on or off.
On the Spike, be careful as the Spike has FOUR possible output configurations that is decoded from the TWO digital signals that come into the Spike from the Digital Sidecar. It is best that you look up the technical specs for the Spike to find out the decoding of the digital signals, as it very well presented in the technical specs.
Just a side note: This is my first year as a mentor
