Quote:
Originally Posted by LavaEagle
Does the limit switch need to be told the DIO Channel and the DIO Module?
or just the DIO Channel(In programming of course)
I believe we have been doing it right as far as the wiring goes. We're using black and white. White on the side tab and black on the NC or NO.
|
The limit switch must be connected to a female RC(PWM) connector to Digital I/O.
This is how you declare it.
Quote:
DigitalInput *limitswitch;
limitswtich = new DigitalInput(channel that you put in);
|
After that you should be fine. Remember that this will return you boolean statement in true or false not integers or floats.