Go to Post The only odd part about this competition is that rather than further convince me that I want to be an engineer, it did the converse... I want to be a teacher. - pauluffel [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 26-01-2013, 16:49
Ganondalf Ganondalf is offline
Registered User
FRC #4665
 
Join Date: Jan 2013
Location: Minnesota
Posts: 48
Ganondalf is an unknown quantity at this point
Programming a Kill Switch

Hello, I have a switch and when I press it I want it to shut off/stop (kill switch) a motor from being able to spin in that direction. How would I program this? Also, does anyone have any examples of how to program a magnetic reed switch? I want a pneumatic cylinder to stop extending at a certain point. Thanks!

Allons-y

Last edited by Ganondalf : 26-01-2013 at 16:56.
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2013, 17:32
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Programming a Kill Switch

Not being a programmer, I can't really help you. But I can offer some advice about pneumatic cylinders. Stopping a pneumatic cylinder before the end of its stroke is not generally a good idea. Since air compresses, it will move if any load changes on it. Just be aware of that.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #3   Spotlight this post!  
Unread 26-01-2013, 18:32
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: Programming a Kill Switch

A recent post shows the typical LabVIEW idiom for implementing limit switches. Look at the diagram on the right half of the image attached to it. It uses the "in range and coerce" function to keep a motor from going forward if one switch is active, and to keep it from going backward if another switch is active.
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2013, 02:25
Ganondalf Ganondalf is offline
Registered User
FRC #4665
 
Join Date: Jan 2013
Location: Minnesota
Posts: 48
Ganondalf is an unknown quantity at this point
Re: Programming a Kill Switch

Fantastic! Thank you very much.
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 21:49.

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