Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Red Light Crisis on Spike (http://www.chiefdelphi.com/forums/showthread.php?t=101472)

cilginbilgin 29-01-2012 14:51

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 ?

HansJ 29-01-2012 15:56

Re: Red Light Crisis on Spike
 
I believe the light color depends on the direction of the output voltage. Does the compressor turn on?

its da PAT!!! 29-01-2012 16:13

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?

cilginbilgin 29-01-2012 16:20

Re: Red Light Crisis on Spike
 
We have a solenoid valve that is wired to the spike.

its da PAT!!! 29-01-2012 16:30

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

its da PAT!!! 29-01-2012 16:34

Re: Red Light Crisis on Spike
 
Oh and depending on what kind of valve it is 12v or 24v. it needs the proper wiring.

FRC4ME 29-01-2012 16:43

Re: Red Light Crisis on Spike
 
Quote:

Originally Posted by its da PAT!!! (Post 1115951)
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.

cilginbilgin 29-01-2012 16:47

Re: Red Light Crisis on Spike
 
1 Attachment(s)
Quote:

Originally Posted by its da PAT!!! (Post 1115951)
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.

its da PAT!!! 29-01-2012 16:48

Re: Red Light Crisis on Spike
 
Quote:

Originally Posted by FRC4ME (Post 1115965)
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.

its da PAT!!! 29-01-2012 16:52

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.

cilginbilgin 29-01-2012 17:04

Re: Red Light Crisis on Spike
 
Quote:

Originally Posted by its da PAT!!! (Post 1115975)
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 ?

cilginbilgin 29-01-2012 17:06

Re: Red Light Crisis on Spike
 
2 Attachment(s)
Here is our code.

its da PAT!!! 29-01-2012 17:11

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.

Al Skierkiewicz 29-01-2012 17:18

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.

cilginbilgin 29-01-2012 17:20

Re: Red Light Crisis on Spike
 
Quote:

Originally Posted by its da PAT!!! (Post 1115997)
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...


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

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