Go to Post We're 3 pounds over. Drill until the hole saw is too hot to touch, then go find something else to cut off while you wait for it to cool down. - Richard Wallace [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-02-2013, 17:11
LOHS3868 LOHS3868 is offline
Registered User
FRC #3868
 
Join Date: Jan 2013
Location: Paducah, KY
Posts: 5
LOHS3868 is an unknown quantity at this point
Compressor Auto Shut-off

Our programming team was wondering how the compressor automatically shuts off when working in conjunction with the pressure switch. We are using Labview 2013 to program and wanted to know whether or not there was code to write that specifically shuts off the compressor at a certain PSI.

Thanks,
Team 3868
  #2   Spotlight this post!  
Unread 05-02-2013, 17:33
chriz4gx chriz4gx is offline
Registered User
AKA: Christopher Villar
FRC #2871 (Beantown Botz)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Boston,MA
Posts: 45
chriz4gx is an unknown quantity at this point
Re: Compressor Auto Shut-off

Well the Compressor Is like programmed by the manufacturer(I think) to turn off at 120 Psi and kick back in after it reaches lower than 90 Psi. To program the compressor in labview you will have to go into the begin vi and place a compressor open, start, and and set vi than connect each one. Remember to give the compressor a refnum name in the Set Vi. Now go into the Periodic Task and enable a piece of code that has a compressor get, and control loop by right clicking in the corner of the code and clicking on enable this sub diagram. REMEMBER to replace the refnum name of the compressor in the Periodic Task to what you named your compressor in the Begin vi. Now deploy the code and test it! I'm going to infer you guys have already wired it correctly so I'm not going to go into detail their.
  #3   Spotlight this post!  
Unread 05-02-2013, 19:47
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Compressor Auto Shut-off

Quote:
Originally Posted by chriz4gx View Post
Well the Compressor Is like programmed by the manufacturer(I think) to turn off at 120 Psi and kick back in after it reaches lower than 90 Psi.
Not quite.

We've used the compressors when making a T-Shirt shooter to reach around 150/160 PSI.

The automatic shutoff you MIGHT be referring to is the pressure switch that is wired up to the DIO. It is set to trigger when the pressure reaches 120PSI, and the compressor code, once started, will always keep the compressor on until the pressure switch is turned on. (Or switched off, I don't remember which state it is usually in).

There is also the automatic blow-off/relief valve, that must be adjusted to blow at 120PSI. It opens up at 120, releasing the pressure until it falls back down below 120.

For the purposes of FRC:
In C++ (and I assume in Java also): You create a compressor object, specifying what relay port the Spike is on, and what port the DIO input is on for the pressure switch. You then simply tell the compressor object to start, (such as ourCompressor.Start() ) and everything is done.

You can also use the Stop() method to disable the compressor, if you need to shut it off to save battery power for something else.

For non FRC uses: (AKA- When you want to use it to go above 120 PSI, or don't have a pressure switch installed)

Create a Relay object. (Relay myRelay = new Relay(1) Then have a button to turn the relay on, and one to turn it off. This will tell the Spike to turn the compressor on and stay on, until you turn it off. Be careful though, there will be NO automatic shut off (so the pressure might exceed safe limits), or more likely, the compressor will get EXTREMELY hot.


As for FRC Labview code: Having not used Labview, I can't say for certain: But I'd imagine what chriz said should work. There should be examples somewhere for you to find.
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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