Go to Post Successful teams - in almost any aspect of life (i.e. not just robotics) - don't make excuses and assign blame when something goes wrong. They improvise. They adapt. They overcome. They correct the problem and move on. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 21-02-2005, 23:56
davelu davelu is offline
Registered User
AKA: fffff
#0123 (fff)
Team Role: Programmer
 
Join Date: Jan 2005
Location: ffff
Posts: 69
davelu is infamous around these partsdavelu is infamous around these parts
have a question to ask about Double Solenoids to one spike programming

Code:
		if (top_grab=OPEN) {
		grab_relay_open=OPEN;
		grab_relay_close=CLOSE;
	} else { grab_relay_open=CLOSE;
			 grab_relay_close=OPEN;
	}
 {
does it look somthing like this? well this work? for the double solenoids to one spike programming?
  #2   Spotlight this post!  
Unread 22-02-2005, 00:39
GregT GregT is offline
Registered User
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: FL
Posts: 400
GregT will become famous soon enough
Send a message via AIM to GregT
Re: have a question to ask about Double Solenoids to one spike programming

Quote:
Originally Posted by davelu
Code:
		if (top_grab=OPEN) {
		grab_relay_open=OPEN;
		grab_relay_close=CLOSE;
	} else { grab_relay_open=CLOSE;
			 grab_relay_close=OPEN;
	}
 {
does it look somthing like this? well this work? for the double solenoids to one spike programming?
For double solenoid programming.

1) both ground leads go to a ground slot.
2) the hot leads each go to a side of the spike (one to each side).
3)
if(condition)
{
printf("actuator forward");
relay1_fwd = 1;
relay1_rev = 0;
} else {
printf("actuator back");
relay1_fwd = 0;
relay1_rev = 1;
}
__________________
The above was my opinion. I'm wrong a lot. I'm sarcastic a lot. Try not to take me too seriously.
  #3   Spotlight this post!  
Unread 22-02-2005, 00:55
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,516
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: have a question to ask about Double Solenoids to one spike programming

There is another thread similar to this called someting like "how do you wire your double solenoids"

Anyhow, it is more of a wiring thing than a programming thing I think. This is how we do it. We have two double solenoids. We have one relay that actuates the extend function on both, and one relay that actuates the retract function on both. We do this because it is the cylinders for shifting, and we don't mind (actually want) them firing at the same time.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #4   Spotlight this post!  
Unread 22-02-2005, 09:52
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: have a question to ask about Double Solenoids to one spike programming

Quote:
Originally Posted by sanddrag
We have two double solenoids. We have one relay that actuates the extend function on both, and one relay that actuates the retract function on both. We do this because it is the cylinders for shifting, and we don't mind (actually want) them firing at the same time.
Would it not be easier to use only one solenoid, and connect both cylinders to it with T fittings?
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 does your team wire your Double Solenoids? Doug G Pneumatics 14 17-02-2005 23:25
General programming question mikesown Programming 1 07-02-2005 16:09
Purchasing double solenoids bob1million Pneumatics 11 08-07-2004 03:17
MIM's question of the day on programming. Gene F Programming 3 24-02-2004 16:32
Rookie Question. double solenoids... archiver 2001 2 24-06-2002 00:57


All times are GMT -5. The time now is 15:29.

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