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 17-02-2013 16:46

Programming a compressor
 
Pleas Help! we are having trouble programming and getting the compressor to work, we have it wired correctly via the port 1 and 1 on the DIO and Relay ports and the compressor does have the pressure sensor hooked up but have not the slightest clue on how i would get it to start running, anything would be of help, preferebly pictures too. thanks!

bvisness 17-02-2013 16:52

Re: Programming a compressor
 
Part of a general LabVIEW document I wrote explains how to initialize and configure a compressor. You can read what I wrote here.

ww2freak8 17-02-2013 17:00

Re: Programming a compressor
 
it says i cant access that link because it requires a hightend security

plnyyanks 17-02-2013 17:02

Re: Programming a compressor
 
1 Attachment(s)
Quote:

Originally Posted by ww2freak8 (Post 1235117)
it says i cant access that link because it requires a hightend security

I was able to access it fine, but I've attached it as a PDF for you.

ww2freak8 17-02-2013 17:09

Re: Programming a compressor
 
Quote:

Originally Posted by plnyyanks (Post 1235119)
I was able to access it fine, but I've attached it as a PDF for you.

Thanks! ill be checking this out right now and post any results i get shortly

ww2freak8 17-02-2013 17:49

Re: Programming a compressor
 
yeah it still isnt working, ill provide screenshots and maybe ya guys can tell me whats wrong?

bvisness 17-02-2013 17:58

Re: Programming a compressor
 
Did you make sure to put the control loop in Periodic Tasks? You'll need that if you actually want the compressor to do anything.

ww2freak8 17-02-2013 18:01

Re: Programming a compressor
 
yeah its at the bottom here.

bvisness 17-02-2013 18:05

Re: Programming a compressor
 
Your code looks fine. I do notice that your code has Relay 3 listed for the compressor in Begin, but you said in your original post that you have the compressor connected to port 1 on the relay module. That might be your problem...

ww2freak8 17-02-2013 18:06

Re: Programming a compressor
 
oh yes, i noticed that. that wasw because i was testing something eright before i posted that, but that isnt the problem

ww2freak8 17-02-2013 18:10

Re: Programming a compressor
 
wish i knew why it wont work =(

plnyyanks 17-02-2013 18:13

Re: Programming a compressor
 
Are you sure everything is wired correctly? Can you take a multimeter and see if the spike is sending voltage to the compressor? What colour is the LED on the spike? What is the pressure switch saying (can also be checked with a multimeter)?

ww2freak8 17-02-2013 18:21

Re: Programming a compressor
 
Quote:

Originally Posted by plnyyanks (Post 1235178)
Are you sure everything is wired correctly? Can you take a multimeter and see if the spike is sending voltage to the compressor? What colour is the LED on the spike? What is the pressure switch saying (can also be checked with a multimeter)?

it looks like we are getting up to 7 volts off the spike relay, and the little light on it is orange, didnt know the pressure switch says anything

ww2freak8 17-02-2013 18:39

Re: Programming a compressor
 
also it connected to a spike relay but idk if thats what causing the issue.. just know its still not working

plnyyanks 17-02-2013 19:26

Re: Programming a compressor
 
Quote:

Originally Posted by ww2freak8 (Post 1235186)
it looks like we are getting up to 7 volts off the spike relay

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

Quote:

Originally Posted by ww2freak8 (Post 1235186)
and the little light on it is orange

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)

Quote:

Originally Posted by ww2freak8 (Post 1235186)
didnt know the pressure switch says anything

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.


All times are GMT -5. The time now is 12:14.

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