Go to Post Every year, everyone reads too much into the hints given by Dave. - EricH [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 09-02-2010, 23:43
nitneylion452's Avatar
nitneylion452 nitneylion452 is offline
Registered User
AKA: Joe Lee
FRC #3167 (Environmental Tectonics Crusaders)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Philadelphia, PA
Posts: 596
nitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud of
Piston extends but does not retract?

We have our solenoid connected to our cRio through slot 8 channels 1 and 2. We have our code (C++) set to make the connection in slot 8 channel 1 activate (extend the piston), then wait .5 seconds. After it waits, it is supposed to make slot 8 channel 2 activate (retract the piston). The piston extends but does not retract. The lights on the cRio next to slot 8 light up, but it is only for the first channel (extend). Any ideas as to why this is happening?
  #2   Spotlight this post!  
Unread 10-02-2010, 00:06
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Piston extends but does not retract?

Normally, The solenoid coils are operated in tandem.
You should be turning one side of the solenoid on and the other off at the same time.
Then the reverse to reverse the piston.

One side applies force, while the opposing side gives way.

The piston won't move if both are on at the same time.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 10-02-2010 at 00:09.
  #3   Spotlight this post!  
Unread 10-02-2010, 00:14
nitneylion452's Avatar
nitneylion452 nitneylion452 is offline
Registered User
AKA: Joe Lee
FRC #3167 (Environmental Tectonics Crusaders)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Philadelphia, PA
Posts: 596
nitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud of
Re: Piston extends but does not retract?

I think my wording was poor in my first post.

Basically we want the piston to extend then retract. Out programming team wrote code which was supposed to turn one side of the solenoid on then off, wait, then turn the other side on then off. The cRio lights only turn on as if only one side is working (we can get one side to work but not the other). Our programming mentors say the code looks fine, our electrical people say the wiring looks good. We can't figure out why it doesn't work.
  #4   Spotlight this post!  
Unread 10-02-2010, 00:22
chadr03's Avatar
chadr03 chadr03 is offline
Registered User
FRC #2582 (PantherBots)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Lufkin, TX
Posts: 66
chadr03 has a spectacular aura aboutchadr03 has a spectacular aura aboutchadr03 has a spectacular aura about
Re: Piston extends but does not retract?

Have you tested the solenoid using a battery? One of our solenoids did not work correctly out of the box. It is possible that one end is not working correctly. Secondly I would put a multimeter on the leads going to the solenoid and see if they are indeed getting the voltage output that you think the programing is sending. Just take each component individual and see if it is working correctly.
  #5   Spotlight this post!  
Unread 10-02-2010, 00:25
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Piston extends but does not retract?

If you're just trying to get the Solenoid Module LEDs to light, then it's a code problem, not a wiring problem. Those are independent of the wiring that occurs afterwards in the Solenoid bumper and the solenoid itself. You can pull off the Solenoid Breakout and that will not affect the code's ability to turn the LEDs on and off.

Usually, I wouldn't program to have both sides of a solenoid off at the same time, but that doesn't concern what you're seeing in the LEDs.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 10-02-2010 at 00:27.
  #6   Spotlight this post!  
Unread 10-02-2010, 00:28
nitneylion452's Avatar
nitneylion452 nitneylion452 is offline
Registered User
AKA: Joe Lee
FRC #3167 (Environmental Tectonics Crusaders)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Philadelphia, PA
Posts: 596
nitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud of
Re: Piston extends but does not retract?

Quote:
Originally Posted by Mark McLeod View Post
If you're just trying to get the Solenoid Module LEDs to light, then it's a code problem, not a wiring problem. Those are independent of the wiring that occurs afterwards in the Solenoid bumper and the solenoid itself.

Usually, I wouldn't program to have both sides of a solenoid off at the same time, but that doesn't concern what you're seeing in the LEDs.
I'm referring to the lights on the cRio. One of the mentors said that if the light on the cRio wasn't lighting, something was wrong with the code, but the programming mentor said everything looked fine.


But, thank you for your suggestions, I will pass these along to our programmers and mentors and see what they think of these!
  #7   Spotlight this post!  
Unread 10-02-2010, 00:38
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Piston extends but does not retract?

Just another argument between software folks and hardware folks, eh?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #8   Spotlight this post!  
Unread 10-02-2010, 12:56
nitneylion452's Avatar
nitneylion452 nitneylion452 is offline
Registered User
AKA: Joe Lee
FRC #3167 (Environmental Tectonics Crusaders)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Philadelphia, PA
Posts: 596
nitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud of
Re: Piston extends but does not retract?

Quote:
Originally Posted by Mark McLeod View Post
Just another argument between software folks and hardware folks, eh?
Tell me about it. (I'm a hardware guy )
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
Code deploys but does not save to cRIO Bill Taylor NI LabVIEW 11 15-02-2012 20:30
Can't retract to go under TUNNEL? Racer26 General Forum 31 28-01-2010 09:51
URGENT HELP: IR board TRAINS but does not RECIEVE dan_h Sensors 6 20-02-2008 20:31
IR Board Not Working (But NOT Fried) itsme Electrical 2 18-02-2008 06:11
frc_camera not working but labview does Issues Programming 7 18-01-2006 19:23


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

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