Go to Post I haven't seen it yet, but I have complete confidence in him, because he is Andy Baker. - Alan Anderson [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 04-02-2009, 15:02
Pasha Pasha is offline
Registered User
None #1403
 
Join Date: Jan 2008
Location: Ukraine
Posts: 8
Pasha is an unknown quantity at this point
Limit Switchers Logic Problem

Hi, I'm Paul Boguslavskiy from Team 1403. I have a problem trying to get this limit switcherrs to work. I have 3 buttons of a joystick to control the direction of a lazy susan: left, right stop.

I have 2 limit switchers on each side. When the lazy susan goes too much left the switch should go on and stop the lazy susan. What I did before was say that if left limit goes on, set motor speed to 0 (stopping the motor). However, the limit switch STAYS true, and the motor speed is forever set to 0. I'm not sure what to do now, how can I stop the motors from spinning once, and then be able to continue later.

SIDE NOTE: When I press the button for left once it should continue to spin left forever. I do not want a press and hold to spin the motors.

 


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
Fuzzy Logic? skidmarks NI LabVIEW 1 25-01-2009 09:36
Limit Switch Problem Boydean Programming 3 13-02-2008 16:32
Using a limit switch to limit motion ManicMechanic Programming 16 20-12-2007 00:54
Logic Question aubinhick990 Website Design/Showcase 2 11-03-2006 16:45
Why I hate Logic EnderofDragon Chit-Chat 2 19-02-2002 21:02


All times are GMT -5. The time now is 01: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