Quote:
Originally Posted by Alan Anderson
Here's a strong hint: use a boolean AND function to combine the "up" button value with the "top" limit switch value, so that the result is true only when the button is pressed and the limit switch is not activated. Do the same thing with the "down" button and "bottom" switch.
Now you have two boolean values, one saying "move up" and the other saying "move down". If you can't figure out how to use those values to control your lift motor, ask for more help.
|
So when the mechanical system overshoots due to lag in the control system, and the limit switch releases, up becomes a valid command again?
We are scraping for documentation on the new Switch VI's. Are these implemented using the FPGA hardware, so it is sampling quick enough that any mostly full range edge is caught? Does the counter reset on system reset? Can we reset the counter? Any debouncing built in?
Inquiring minds,
Tim