Which mode is best for new setups?

More
08 Mar 2019 16:59 - 08 Mar 2019 17:12 #128090 by Todd Zuercher
I believe that your problem is that a hal signal can only be connected to one output pin.

Your "input.0.btn-thumb2 #3" is a hal output pin, and so is "hm2_7i43.0.gpio.032.in". So they can not be connected to the same signal. To use signals from more than one hal output to trigger something you have to use another hal logic component such as and2 or2.
linuxcnc.org/docs/html/man/man9/or2.9.html
You would use the and2 or2 to read both of your output pins (connect them to the two and2's or2's inputs). Then connect the output from the and2 or2 to what ever you want triggered.
Last edit: 08 Mar 2019 17:12 by Todd Zuercher. Reason: Change and2 to or2

Please Log in or Create an account to join the conversation.

More
08 Mar 2019 17:00 #128091 by andypugh
I think that OR2 is what is needed here.

Please Log in or Create an account to join the conversation.

More
08 Mar 2019 17:07 #128093 by Todd Zuercher

I think that OR2 is what is needed here.


Your right Andy, not sure why I said and2, or2 is probably what he wants.

Please Log in or Create an account to join the conversation.

Time to create page: 0.124 seconds
Powered by Kunena Forum