- Posts: 4739
- Thank you received: 2
Which mode is best for new setups?
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
7 years 7 months ago #128090
by Todd Zuercher
Replied by Todd Zuercher on topic Which mode is best for new setups?
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 [strike]and2[/strike] or2.
linuxcnc.org/docs/html/man/man9/or2.9.html
You would use the [strike]and2[/strike] or2 to read both of your output pins (connect them to the two [strike]and2's[/strike] or2's inputs). Then connect the output from the [strike]and2[/strike] or2 to what ever you want triggered.
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 [strike]and2[/strike] or2.
linuxcnc.org/docs/html/man/man9/or2.9.html
You would use the [strike]and2[/strike] or2 to read both of your output pins (connect them to the two [strike]and2's[/strike] or2's inputs). Then connect the output from the [strike]and2[/strike] or2 to what ever you want triggered.
Please Log in to join the conversation.
7 years 7 months ago #128091
by andypugh
Replied by andypugh on topic Which mode is best for new setups?
I think that OR2 is what is needed here.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
7 years 7 months ago #128093
by Todd Zuercher
Your right Andy, not sure why I said and2, or2 is probably what he wants.
Replied by Todd Zuercher on topic Which mode is best for new setups?
andypugh wrote: 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 to join the conversation.
Time to create page: 0.109 seconds
