|
Re: Limit Switch return value
The output of a limit switch depends on the switch itself. If the switch is labeled SPDT, it will typically have three pins, one ground and two signals. One signal will be closed only while the switch is depressed, and the other will be closed only while the switch is released. A SPST switch however will only have two pins, in which case the most common configuration is that the circuit between the pins is closed when the switch is depressed (Though the alternate case does exist, so be sure to read any print on the switch). If all else fails, use a multimeter or circuit tester of some sort. (You can make one with a resistor, a spare LED, and a watch battery, or just use the dashboard and a DI ^^)
P.S. In the case the switch has three pins, usually the center pin will be ground.
|