Connect Multiple Signals with OR and AND
- Ritterchen
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 10
19 Jul 2024 11:48 - 19 Jul 2024 11:54 #305640
by Ritterchen
Connect Multiple Signals with OR and AND was created by Ritterchen
Hey together,
I am writing a section of my HAL that manages the start of my spindle. I am running into several instances where it would be really useful to have more than 2 AND / OR connections into one signal. Is there a reason this is not existing? Like an AND10`?
E.g. Spindle only starts when:
- Door is locked
- Air pressure is present
- Tool is inserted (control)
- Tool is inserted correctly (sensor)
To connect multiple AND/OR connections feels somehow not elegant. Is there a smarter way to do these things I missed?
Thank you!
Fritz
I am writing a section of my HAL that manages the start of my spindle. I am running into several instances where it would be really useful to have more than 2 AND / OR connections into one signal. Is there a reason this is not existing? Like an AND10`?
E.g. Spindle only starts when:
- Door is locked
- Air pressure is present
- Tool is inserted (control)
- Tool is inserted correctly (sensor)
To connect multiple AND/OR connections feels somehow not elegant. Is there a smarter way to do these things I missed?
Thank you!
Fritz
Last edit: 19 Jul 2024 11:54 by Ritterchen.
Please Log in or Create an account to join the conversation.
19 Jul 2024 11:50 #305643
by rodw
Replied by rodw on topic Connect Multiple Signals with OR and AND
Try applying logic
linuxcnc.org/docs/stable/html/man/man9/logic.9.html
linuxcnc.org/docs/stable/html/man/man9/logic.9.html
The following user(s) said Thank You: Ritterchen
Please Log in or Create an account to join the conversation.
- Ritterchen
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 10
19 Jul 2024 11:53 #305644
by Ritterchen
Replied by Ritterchen on topic Connect Multiple Signals with OR and AND
Ohh wow, thank you a lot for record time feedback!
Totally missed this one, understood its more a basic component below the rest.
Totally missed this one, understood its more a basic component below the rest.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
Time to create page: 0.138 seconds