Which mode is best for new setups?
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5008
- Thank you received: 1441
08 Mar 2019 16:59 - 08 Mar 2019 17:12 #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 asand2 or2.
linuxcnc.org/docs/html/man/man9/or2.9.html
You would use theand2 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.
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
linuxcnc.org/docs/html/man/man9/or2.9.html
You would use the
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.
08 Mar 2019 17:00 #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 or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5008
- Thank you received: 1441
08 Mar 2019 17:07 #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?
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.068 seconds