Probe(s) for mill
10 Oct 2024 13:55 #311726
by kbec
Probe(s) for mill was created by kbec
I have two probes coming from my Mesa 7i96 card. One is on pin8, one on pin 9, with common ground on 10. If I recall correctly, the configuration can only handle one input, so if pin 8 or pin 9 is triggered, the probe is triggered. How do I configure that? I seem to recall it being in the hal file, but I am not sure how to do it.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
10 Oct 2024 17:32 #311755
by Todd Zuercher
Replied by Todd Zuercher on topic Probe(s) for mill
You can connect them using a Hal Logic component such as or2 or and2. Which one you should use will depend on if your probe switches are normally open or normally closed. If your probes are normally closed signals (on when not triggered) then you would use an and2. (Use the or2 for normally open signals.)
If you need the ability to disable one or the other or both when not in use, then you can add an additional logic component connected to disabling/enabling signals. At this point it might be better to use a single more complex hal component such as Lut5 or Logic rather than stringing together a bunch of and2 and or2 components.
Let us know if you need further help walking you through modifying your hal file to do this.
If you need the ability to disable one or the other or both when not in use, then you can add an additional logic component connected to disabling/enabling signals. At this point it might be better to use a single more complex hal component such as Lut5 or Logic rather than stringing together a bunch of and2 and or2 components.
Let us know if you need further help walking you through modifying your hal file to do this.
The following user(s) said Thank You: kbec
Please Log in or Create an account to join the conversation.
Time to create page: 0.097 seconds