Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Programming a compressor (http://www.chiefdelphi.com/forums/showthread.php?t=113793)

ww2freak8 18-02-2013 02:16

Re: Programming a compressor
 
Quote:

Originally Posted by plnyyanks (Post 1235222)
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

ww2freak8 19-02-2013 19:59

Re: Programming a compressor
 
so looks like it was a bad spike relay. compressor works fine now and even more issues arise today such as the trigger button not working even though before it did and now our motor that is suppose to be triggered by it turns on when teleop is enabled =/

Alan Anderson 20-02-2013 11:59

Re: Programming a compressor
 
That happened to us yesterday evening. We added a servo, and suddenly one of the other motors decided to run backwards full speed. It turns out that the "database" we use to track robot I/O had duplicated a bunch of PWM channels.

Read the Diagnostics window on the Driver Station. It might be telling you something about trying to open a PWM output twice.


All times are GMT -5. The time now is 22:58.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi