Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Programming a Kill Switch (http://www.chiefdelphi.com/forums/showthread.php?t=112124)

Ganondalf 26-01-2013 16:49

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

DonRotolo 26-01-2013 17:32

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.

Alan Anderson 26-01-2013 18:32

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.

Ganondalf 27-01-2013 02:25

Re: Programming a Kill Switch
 
Fantastic! Thank you very much.


All times are GMT -5. The time now is 10:50.

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