7i96 Probe Problem

More
4 years 7 months ago #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

Please Log in to join the conversation.

More
4 years 7 months ago #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)

Please Log in to join the conversation.

More
4 years 7 months ago #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 to join the conversation.

More
4 years 7 months ago #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


 

Please Log in to join the conversation.

More
4 years 7 months ago #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.

Please Log in to join the conversation.

More
4 years 7 months ago #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

Please Log in to join the conversation.

More
4 years 7 months ago #237471 by PCW
Replied by PCW on topic 7i96 Probe Problem
Right, the raw probe signal needs to be fed
through the debounce function.

Please Log in to join the conversation.

More
2 years 1 month ago #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

Please Log in to join the conversation.

Time to create page: 0.046 seconds
Powered by Kunena Forum