To guy from other page: Ok, i'll try to figure out how to do that, i would use another and maybe?
Quote:
Originally Posted by Alan Anderson
I'm still not sure what a "breaker switch" is in your description. I would normally understand it as the robot's main power switch, but that's obviously not what you're talking about. You mentioned limit switches once, so I'll assume that's what you mean.
|
Sorry about that, limit switches, don't know why i got that they are breaker switches...
Quote:
Originally Posted by Alan Anderson
Mark has already pointed out that you can't have two separate Motor Set functions next to each other and expect things to work, so I'll let that go for now.
|
Ok, will try something at lunch today.
Quote:
Originally Posted by Alan Anderson
With the logic in your code, the "break" input will prevent the button press from being recognized when it is True. That means you have to have a switch closed from SIG to (-) on the DIO pins in order for the button to make the motor run. How are your switches wired? There are typically three terminals on a limit switch; which terminal are you connecting to each pin on the Digital Sidecar?
|
I just remember two but i will check... Thought i posed somewhere else earlier...
EDIT:
Quote:
Originally Posted by sthreet
Wired into the Digital I/O into signal and negative.
|
Will check again though... Not sure what you mean by three terminals... But should I get rid of the not also?