Go to Post It is easy to be righteous on Chief Delphi, and harder to implement in life. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 19-02-2011, 15:01
winglerw28 winglerw28 is offline
Registered User
FRC #1274
 
Join Date: Jan 2011
Location: Berea, OH, USA
Posts: 30
winglerw28 is an unknown quantity at this point
How to use Solenoids attached to Relays

Here is my current teleop vi, but nothing happens when I press button 8 on the joystick:



Help would be greatly appreciated, as I'm getting extremely frustrated.
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2011, 15:35
Wicked Wicked is offline
Registered User
FRC #0354 (G-House Pirates)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: New York
Posts: 46
Wicked is an unknown quantity at this point
Re: How to use Solenoids attached to Relays

That's because the case structure is wired to Button 1.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-02-2011, 15:54
winglerw28 winglerw28 is offline
Registered User
FRC #1274
 
Join Date: Jan 2011
Location: Berea, OH, USA
Posts: 30
winglerw28 is an unknown quantity at this point
Re: How to use Solenoids attached to Relays

Quote:
Originally Posted by Wicked View Post
That's because the case structure is wired to Button 1.
Sorry I just re-did that after deleting. It still doesn't work after being assigned to button 8.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-02-2011, 17:57
stormyweathers stormyweathers is offline
Registered User
FRC #3653
 
Join Date: Feb 2011
Location: US
Posts: 10
stormyweathers is an unknown quantity at this point
Re: How to use Solenoids attached to Relays

what is the value of "On"
maybe that isnt set properly.

do relays need a "1" wired to be on?
Reply With Quote
  #5   Spotlight this post!  
Unread 19-02-2011, 18:09
winglerw28 winglerw28 is offline
Registered User
FRC #1274
 
Join Date: Jan 2011
Location: Berea, OH, USA
Posts: 30
winglerw28 is an unknown quantity at this point
Re: How to use Solenoids attached to Relays

Quote:
Originally Posted by stormyweathers View Post
what is the value of "On"
maybe that isnt set properly.

do relays need a "1" wired to be on?
This is the way I programmed last years robot. This year it was working and just stopped for some mysterious reason.
Reply With Quote
  #6   Spotlight this post!  
Unread 19-02-2011, 20:18
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,833
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: How to use Solenoids attached to Relays

Usually, Relays use the "Forward/Reverse" choices to run motors or operate solenoids.

Only under special wiring conditions for solenoids is "On" used.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 19-02-2011, 22:20
winglerw28 winglerw28 is offline
Registered User
FRC #1274
 
Join Date: Jan 2011
Location: Berea, OH, USA
Posts: 30
winglerw28 is an unknown quantity at this point
Re: How to use Solenoids attached to Relays

Could some post a picture of a correctly programed relay so i can compare? I still can't get it to work.
Reply With Quote
  #8   Spotlight this post!  
Unread 20-02-2011, 11:23
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,833
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: How to use Solenoids attached to Relays

Just to make sure you don't have a simple wiring problem instead.
Are the Relay LED indicators located on the Digital sidecar turning red or green as you use button 8?


I assume it's a motor you're trying to have move only while you hold button 8?
Is it a one-way motor that goes out, but gets physically pushed back?


This is just what you posted.
It makes the Digital sidecar green Relay LED come on.
Attached Thumbnails
Click image for larger version

Name:	RelayExample3.jpg
Views:	25
Size:	14.9 KB
ID:	10230  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 20-02-2011 at 11:37.
Reply With Quote
  #9   Spotlight this post!  
Unread 20-02-2011, 19:40
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: How to use Solenoids attached to Relays

I'm not sure why your not using the solenoid breakout that's already in the WPI library WPI Robotics Library> Actuators> Solenoid> Set. And then for a double acting solenoid you open 2 different ports. See picture.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	16
Size:	4.9 KB
ID:	10235  
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
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 20:35.

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