7i96 Probe Problem
- imslo
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 2
15 Mar 2022 20:41 #237373
by imslo
Replied by imslo on topic 7i96 Probe Problem
Hal shows this: hm2_7i96.0.gpio.001.in
When I use the above iI get this error: Pin 'hm2_7i96.0.gpio.001.in' was already linked to signal 'probe-in'
When I change anything about the pin name I get this error: Pin 'hm2_7i96.0.gpio.001' does not exist
When I use the above iI get this error: Pin 'hm2_7i96.0.gpio.001.in' was already linked to signal 'probe-in'
When I change anything about the pin name I get this error: Pin 'hm2_7i96.0.gpio.001' does not exist
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17883
- Thank you received: 4781
15 Mar 2022 21:17 - 15 Mar 2022 21:17 #237381
by PCW
Replied by PCW on topic 7i96 Probe Problem
Yes, you must disconnect the old connection between probe_in and
hm2_7i96.0.gpio.001.in because hm2_7i96.0.gpio.001.in now needs
to connect to the debounce input (and the raw probe input signal)
hm2_7i96.0.gpio.001.in because hm2_7i96.0.gpio.001.in now needs
to connect to the debounce input (and the raw probe input signal)
Last edit: 15 Mar 2022 21:17 by PCW.
Please Log in or Create an account to join the conversation.
- imslo
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 2
15 Mar 2022 22:04 #237392
by imslo
Replied by imslo on topic 7i96 Probe Problem
I don't understand. How does the probe hook up now?
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17883
- Thank you received: 4781
15 Mar 2022 22:24 #237396
by PCW
Replied by PCW on topic 7i96 Probe Problem
In HAL, without debounce, it connects directly from the hardware
input pin (hm2_7i96.0.gpio.001.in) to LinuxCNC's motion.probe-input
pin, probably via 2 statements:
net probe-in hm2_7i96.0.gpio.001.in
net probe-in motion.probe-input
These need to be replaced with connections that insert the
debounce component between the raw signal from the hardware
and LinuxCNC's motion.probe-input pin:
net raw- probe-in hm2_7i96.0.gpio.001.in => debounce.0.in
net probe-in debounce.0.out => motion.probe-input
input pin (hm2_7i96.0.gpio.001.in) to LinuxCNC's motion.probe-input
pin, probably via 2 statements:
net probe-in hm2_7i96.0.gpio.001.in
net probe-in motion.probe-input
These need to be replaced with connections that insert the
debounce component between the raw signal from the hardware
and LinuxCNC's motion.probe-input pin:
net raw- probe-in hm2_7i96.0.gpio.001.in => debounce.0.in
net probe-in debounce.0.out => motion.probe-input
Please Log in or Create an account to join the conversation.
- imslo
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 2
15 Mar 2022 22:27 #237397
by imslo
Replied by imslo on topic 7i96 Probe Problem
YeeHaw seems to be working. In my config file I set pin 01 to unused and inserted the following in my custom Hal file:
loadrt debounce cfg=1
addf debounce.0 servo-thread
setp debounce.0.delay 10
net raw_probe hm2_7i96.0.gpio.001.in
Thank you for sticking with me. I was about ready to abound the project.
loadrt debounce cfg=1
addf debounce.0 servo-thread
setp debounce.0.delay 10
net raw_probe hm2_7i96.0.gpio.001.in
Thank you for sticking with me. I was about ready to abound the project.
Please Log in or Create an account to join the conversation.
- imslo
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 2
16 Mar 2022 14:25 #237470
by imslo
Replied by imslo on topic 7i96 Probe Problem
Last post:
Above did not work. This is working after what seems like several hundred tests.
loadrt debounce cfg=1
addf debounce.0 servo-thread
setp debounce.0.delay 10
net debounce-probe-in debounce.0.0.in <= hm2_7i96.0.gpio.001.in
net probe-in debounce.0.0.out => motion.probe-input
Above did not work. This is working after what seems like several hundred tests.
loadrt debounce cfg=1
addf debounce.0 servo-thread
setp debounce.0.delay 10
net debounce-probe-in debounce.0.0.in <= hm2_7i96.0.gpio.001.in
net probe-in debounce.0.0.out => motion.probe-input
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17883
- Thank you received: 4781
16 Mar 2022 15:03 #237471
by PCW
Replied by PCW on topic 7i96 Probe Problem
Right, the raw probe signal needs to be fed
through the debounce function.
through the debounce function.
Please Log in or Create an account to join the conversation.
- CCCNC
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
13 Sep 2024 21:39 #310104
by CCCNC
Replied by CCCNC on topic 7i96 Probe Problem
Thank you!
This helped me a lot, I now have consistent probe result. Thanks to debouncing there is no more "Probe tripped during non-probe move".
Let´s make some chips!
/T
This helped me a lot, I now have consistent probe result. Thanks to debouncing there is no more "Probe tripped during non-probe move".
Let´s make some chips!
/T
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds