|
Re: Limit Switches
I used a case select on an "In Range and Coerce" block where the upper and lower limits are set by case statements controlled by a digital input and the input is the motor speed, assuming the motor is run by a speed controller.
For example, the upper limit would be 1. When the switch is tripped, the upper limit becomes 0, thus preventing the motor from driving in that direction. The lower limit would be -1 until the switch is tripped and the lower limit is set to 0.
Last edited by ebmonon36 : 03-03-2009 at 18:05.
|