Go to Post I don't really have a problem with school, as long as it doesn't get in the way of learning. - lukevanoort [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-01-2015, 01:32
personman12905 personman12905 is offline
Registered User
FRC #2183
 
Join Date: Jan 2015
Location: United States
Posts: 1
personman12905 is an unknown quantity at this point
Motor Posistion Reset Help

So i'm trying to program a motor for our lift system. What I want it to do is to rotate one direction when I press one button until the button is released. Then I want it to rotate the opposite direction when a different button is pressed, and stop when it is released. Then I have a limit switch at the top and bottom of the lift to shut off the motor when they're hit. The final thing I need is for when the two buttons for lifting and lowering are pressed simultaneously, I want the motor to bring the lift all the way down until the lower limit switch is hit. This reset function needs to be just a quick button press for it to bring all the way down, not holding the buttons until it gets down. The reset function is what I really need help with.

I hope I explained this well enough. If you're not sure what I'm asking, let me know and i'll try to clarify. I've attached what i have so far in Begin and Teleop. Our team hasn't built anything yet, so I'm not exactly sure what any of what I have yet will do either (stressful)

Thanks!
Team 2183
Attached Files
File Type: vi Motor Posistion Reset Help.vi (13.9 KB, 3 views)

Last edited by personman12905 : 06-01-2015 at 01:34.
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


All times are GMT -5. The time now is 02:42.

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