Quote:
Originally Posted by 4AngryNutjobs
Only problem is that the switch value is always reading true, stopping our motor even before it begins to move. This happens even when the switch is unplugged. Any suggestions as to why our program does this?
|
If you describe what kind of switch it is and how you have it wired, we can help you better.
A typical limit switch for this application should be wired between the (-) and (signal) pins of a Digital Input. The input will indeed always read true with nothing connected, or with the switch open. It will only read false when the switch is closed.