Two outputs from multiple inputs

More
2 years 4 months ago #302342 by B.Reilly01
I'm working on getting my ATC to index, and the way the original was wired was output 13 rotated the carousel counterclockwise.  Output 13 AND 14 at the same time rotated it clockwise.  On top of that, I have a physical button to rotate it as well.  What I'm looking to do is use an OR2 with or2.1.in0 as the button, and or2.1.in1 as the logic input with or2.1.out to rotate the carousel (preferrably clockwise, so setting both output 13 and 14 true).  Then I need another input that can set just output 13 true so that the carousel can rotate CCW as well.  My problem is that only 1 signal can be assigned to an output pin, so if I set or2.1.out to outputs 13 and 14, I cannot set car-ccw to output 13.

Please Log in to join the conversation.

More
2 years 4 months ago #302345 by PCW
Another or gate or so can do this...

Please Log in to join the conversation.

More
2 years 4 months ago #302346 by B.Reilly01
Thank you, couldn't see the simple solution in front of me. Solved it as follows:

net car-ccw            motion.digital-out-05      or2.2.in0
net car-cw              motion.digital-out-04      or2.1.in0
net tool-index-btn        or2.1.in1             [HMOT](CARD0).7i76.0.3.input-05
net CarIndex        or2.1.out      or2.2.in1 [HMOT](CARD0).7i76.0.3.output-13
net CarIndexRev         or2.2.out               [HMOT](CARD0).7i76.0.3.output-14

Please Log in to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum