Go to Post The only thing that would finish this perfect day is a game hint... - [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 17-02-2010, 17:22
Dakota Dakota is offline
Registered User
FRC #2805
 
Join Date: Feb 2010
Location: Texas
Posts: 14
Dakota is an unknown quantity at this point
How do i program compressor

I give up trying to program the thing. I have the pressure switch hooked up to DIO channel 1, and the relay to relay channel 1. Both are on slot 4. How do I program the compressor?
  #2   Spotlight this post!  
Unread 17-02-2010, 17:39
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,384
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: How do i program compressor

Quote:
Originally Posted by Dakota View Post
I give up trying to program the thing. I have the pressure switch hooked up to DIO channel 1, and the relay to relay channel 1. Both are on slot 4. How do I program the compressor?
What happens when you place the "Compressor Open" and "Compressor Start" in the Begin.vi with the correct DIO's and channels selected for the switch and relay?

Additionally, when you probe the signals, what does it show for the switch input and the direction command to the relay?
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist

Last edited by billbo911 : 17-02-2010 at 18:02.
  #3   Spotlight this post!  
Unread 17-02-2010, 18:18
Dakota Dakota is offline
Registered User
FRC #2805
 
Join Date: Feb 2010
Location: Texas
Posts: 14
Dakota is an unknown quantity at this point
Re: How do i program compressor

How do I set that up? I tried the following with no luck.

In Begin:
Compressor open--->Compressor Start--->Compressor Refnum set

In Finish:
Compressor Refnum Get--->Compressor Stop--->Compressor Close

Is that right? How do I do it?
  #4   Spotlight this post!  
Unread 17-02-2010, 18:32
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,384
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: How do i program compressor

Quote:
Originally Posted by Dakota View Post
How do I set that up? I tried the following with no luck.

In Begin:
Compressor open--->Compressor Start--->Compressor Refnum set

In Finish:
Compressor Refnum Get--->Compressor Stop--->Compressor Close

Is that right? How do I do it?
That sounds correct. My understanding is that is all it would take to make it work, that is, if you made sure to have the DIO's and channels correct, which it sounds like you did.
Also, make sure your DSC has power and the there is a circuit breaker feeding the relay and you have replaced the fuse in the spike with a 20amp circuit breaker.

If this doesn't work, which it never did for us, reply back and I'll post what we did to get it to work. BTW, search for issues with compressors. There are several threads about it and some also have solutions.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #5   Spotlight this post!  
Unread 17-02-2010, 19:01
vidhur vidhur is offline
Registered User
FRC #2582
 
Join Date: Jan 2009
Location: lufkin
Posts: 2
vidhur is an unknown quantity at this point
Re: How do i program compressor

We also had many difficulties running the compressor example codes and our code. What worked for us in the code was to incorporate a teleop vi also.

In Begin:
Compressor open--->Compressor Start--->Compressor Refnum set

In Teleop:
Compressor Refnum Get---> Compressor Enabled

In Finish:
Compressor Refnum Get--->Compressor Stop--->Compressor Close

From my understanding you need to have the compressor enabled vi in order to run the compressor. Some teams open it in the begin vi before the Refnum set, but mine works fine in the teleop

If it still doesnt work, I have some tests to help you pinpoint the problem.
  #6   Spotlight this post!  
Unread 18-02-2010, 22:29
Dakota Dakota is offline
Registered User
FRC #2805
 
Join Date: Feb 2010
Location: Texas
Posts: 14
Dakota is an unknown quantity at this point
Re: How do i program compressor

Ok I got it. I thought that digital inputs were pulled down, turns out they are pulled up. |P
I touched the ground wire to the wire hooked up to "A" on DIO 1, and the compressor turned on. *smacks self on forehead*
  #7   Spotlight this post!  
Unread 18-02-2010, 23:07
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,384
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: How do i program compressor

Quote:
Originally Posted by Dakota View Post
Ok I got it. I thought that digital inputs were pulled down, turns out they are pulled up. |P
I touched the ground wire to the wire hooked up to "A" on DIO 1, and the compressor turned on. *smacks self on forehead*
Don't feel bad my friend. I'm a EE and I still need to remind myself each year whether the system looks for an open or closed contact to be considered active. Pulled up sometimes, pulled down others. Testing the result is the only sure way I know.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you code the compressor? Jessi-Team 2156 Technical Discussion 13 11-02-2010 15:14
How to program solenoid and compressor? Jason F Java 8 08-02-2010 15:15
How to conect solenoids to the circuit board. and how to program it...??? arpitshah Pneumatics 6 13-01-2008 15:06
pic: How we cool our compressor eshteyn Extra Discussion 19 28-07-2007 22:39
Running just the compressor (was: free compressor) sciguy125 Pneumatics 15 06-02-2006 18:23


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

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