View Single Post
  #4   Spotlight this post!  
Unread 18-03-2010, 11:16
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: LimitSwitches and Encoder Questions

Quote:
Originally Posted by dShad View Post
My team wants to use to limit switches to control our climbing device. Like once one limit switch is pushed the motor can no longer go backwards. I have a basic understanding of limit switches from searching the forums but I don't know how you would incorporate that into the teleop vi. How would go about saying okay once the DIO input is true it prevents the motor from going backwards?
If by "prevent the motor from moving backwards" you mean "stop powering the motor in the backward direction", then the best way is to connect the limit switch directly to the Jaguar (if you are using Jaguar). The Jaguar senses the limit switch and shuts off power. No code required.

~
Reply With Quote