Go to Post They have a Woodie Flowers Finalist, Outstanding Volunteer and numerous UFH Awards to demonstrate this as well. You do not receive any of these accolades without doing something right. - J Flex 188 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2012, 14:51
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Exclamation Red Light Crisis on Spike

Hi
We are using pneumatics on the robot and we have all the components ready. Compressor piston solenoid air tanks and spikes. When we hit the button on the joystick in order to start the piston the spike connected to the piston flashes red. But I know that it should be green. What can be done to solve it ? Any ideas ?
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2012, 15:56
HansJ's Avatar
HansJ HansJ is offline
Registered User
AKA: Hans
FRC #3018 (Nordic Storm)
Team Role: Mechanical
 
Join Date: Jan 2010
Rookie Year: 2010
Location: St. Peter
Posts: 29
HansJ is on a distinguished road
Re: Red Light Crisis on Spike

I believe the light color depends on the direction of the output voltage. Does the compressor turn on?
__________________


2013 Lake Superior Excellence In Engineering Winner
2013 Lake Superior Dean's List Finalist
2013 10,000 Lakes Engineering Inspiration Winner
2013 Championship Creativity Award Winner
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2012, 16:13
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Red Light Crisis on Spike

[quote=cilginbilgin;1115893start the piston the spike[/QUOTE]


The way you phrase that, it makes it seem that your have the pneumatics cylinder is wired into the spike?
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion


Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2012, 16:20
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Red Light Crisis on Spike

We have a solenoid valve that is wired to the spike.
Reply With Quote
  #5   Spotlight this post!  
Unread 29-01-2012, 16:30
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Red Light Crisis on Spike

Ok well there's your problem. The solenoid valve needs to be plugged into the solenoid break out on the crio.

and I highlighted cylinder because calling it a piston is a pet peeve of mine. lol
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion



Last edited by its da PAT!!! : 29-01-2012 at 16:32.
Reply With Quote
  #6   Spotlight this post!  
Unread 29-01-2012, 16:34
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Red Light Crisis on Spike

Oh and depending on what kind of valve it is 12v or 24v. it needs the proper wiring.
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion


Reply With Quote
  #7   Spotlight this post!  
Unread 29-01-2012, 16:43
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Re: Red Light Crisis on Spike

Quote:
Originally Posted by its da PAT!!! View Post
Ok well there's your problem. The solenoid valve needs to be plugged into the solenoid break out on the crio.

and I highlighted cylinder because calling it a piston is a pet peeve of mine. lol
You can drive a 12 V solenoid valve with a Spike relay. You can even put multiple solenoid valves on one relay:

Quote:
[R46]
Each power-regulating device (speed controller or relay module) shall control one and only one electrical load (motor, actuator, electric solenoid, or compressor).

Exception: Multiple low-load, pneumatic solenoid valves or lights may be connected to a single relay module. This would allow one relay module to drive multiple pneumatic actions or multiple lights. No other electrical load can be connected to a relay module used in this manner.
Is the light flashing or solid? A solid red light means the relay is set to reverse. To set it forward (green light) you need to change the direction of the relay in your code. What language are you using?

EDIT - Seems the OP is trying to use a 24 V solenoid. In that case, you have to use the solenoid breakout. And you do not connect a Spike to the solenoid breakout; you connect the solenoid valve directly to the solenoid breakout. If you want to use a Spike to drive a 12 V solenoid valve, you connect the Spike to the digital sidecar, never to the solenoid breakout.
__________________
Go directly to queue. Do not pass pit.

Last edited by FRC4ME : 29-01-2012 at 23:32.
Reply With Quote
  #8   Spotlight this post!  
Unread 29-01-2012, 16:47
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Question Re: Red Light Crisis on Spike

Quote:
Originally Posted by its da PAT!!! View Post
Ok well there's your problem. The solenoid valve needs to be plugged into the solenoid break out on the crio.

I will start from the very beginning.I have a solenoid valve that is wired into the spike.

Here is the valve that we use.

http://www.festo.com/rep/en-us_us/as...ions_2011b.pdf

Then I wired the pwm output of the spike to 2 ports on the solenoid breakout.
Attached Images
File Type: bmp Pneumatics.bmp (1.68 MB, 25 views)
Reply With Quote
  #9   Spotlight this post!  
Unread 29-01-2012, 16:48
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Red Light Crisis on Spike

Quote:
Originally Posted by FRC4ME View Post
You can drive a 12 V solenoid valve with a Spike relay. You can even put multiple solenoid valves on one relay
Well I didn't know that thanks. I just find it easier to use the break out. It saves space.
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion


Reply With Quote
  #10   Spotlight this post!  
Unread 29-01-2012, 16:52
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Red Light Crisis on Spike

Well thats a 24v and it has to go to break out and that pictures seems to be wired wrong.
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion


Reply With Quote
  #11   Spotlight this post!  
Unread 29-01-2012, 17:04
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Red Light Crisis on Spike

Quote:
Originally Posted by its da PAT!!! View Post
Well thats a 24v and it has to go to break out and that pictures seems to be wired wrong.
But there are lights on both corners of the valve.

Doesn't this mean that valve is powered correctly ?
Reply With Quote
  #12   Spotlight this post!  
Unread 29-01-2012, 17:06
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Red Light Crisis on Spike

Here is our code.
Attached Thumbnails
Click image for larger version

Name:	teleop.png
Views:	8
Size:	13.9 KB
ID:	11624  Click image for larger version

Name:	begin.png
Views:	13
Size:	7.5 KB
ID:	11625  
Reply With Quote
  #13   Spotlight this post!  
Unread 29-01-2012, 17:11
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Red Light Crisis on Spike

Not quite, On one side of the valve power and ground need to come from the PD and the other side goes to the ground and power side of the spike (M+, M-).

But if it is a 24v valve, it needs to be wired to a 24v breakout. It will only get 12v for a spike.
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion


Reply With Quote
  #14   Spotlight this post!  
Unread 29-01-2012, 17:18
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Red Light Crisis on Spike

cil,
When you use a 24 volts solendoid valve, the only legal and correct way to use it is to wire the solenoid module in the Crio for 24 volts. There is a wiring diagram on the First website to assist you. I believe you can find it in the KOP section. The Spike can only control 12 volts. While some people have reported that their 24 volt valves work on 12 volts, they are not reliable at that voltage.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #15   Spotlight this post!  
Unread 29-01-2012, 17:20
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Red Light Crisis on Spike

Quote:
Originally Posted by its da PAT!!! View Post
Not quite, On one side of the valve power and ground need to come from the PD and the other side goes to the ground and power side of the spike (M+, M-).

But if it is a 24v valve, it needs to be wired to a 24v breakout. It will only get 12v for a spike.

So what you are saying is don't wire the spike with the valve , just wire the valve to the solenoid breakout ? OR...
Reply With Quote
Reply


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:15.

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