View Single Post
  #4   Spotlight this post!  
Unread 18-02-2013, 02:16
ww2freak8 ww2freak8 is offline
Registered User
FRC #4345
 
Join Date: Jan 2012
Location: CARSON
Posts: 12
ww2freak8 is an unknown quantity at this point
Smile Re: Programming a compressor

Quote:
Originally Posted by plnyyanks View Post
That doesn't sound right. You should be getting +12, -12, or 0. Check the input wiring - it sjhould go a terminal on the PDB protected by a 20 amp breaker.


If it's solid orange, that means it's outputting neutral (zero volts). If it's trying to get your compressor to run, it'll turn green (forward). There should be a PWM wire between the spike and Relay port 3 on your digital sidecar (like you specified in code)


When the pressure going through the pressure switch is <120 psi, there will be an open circuit between the two wires coming off it (which should go to DIO 14, like you specified in code). That circuit will close when the pressure reaches 120 psi. This tells the cRIO to turn off the compressor.

Take a look at the Signal Wiring Diagram and the Power Wiring Diagram to see how to wire the pressure switch and a spike relay.
Thanks! I'll make sure all that is good tomorrow, hopefully can get everything working before midnight
Reply With Quote