7i96 Probe Problem
- imslo
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 2
15 Mar 2022 14:17 #237329
by imslo
Replied by imslo on topic 7i96 Probe Problem
I hooked my probe up to my old system and it worked fine just as it has for several years. I think maybe the differences in the system maybe the problem. Old system is Dell Optiplex 755 built in 2008, dual core 1.8 ghz, 2 gb ram. New system dell i7-7700 3.6ghz 16 gb ram. It looks to me like the new system is so fast it is picking up bounce where the old system was so slow it didn't see it. There is one difference in the hookups. My motors are have six wire and came from hobbycnc. On the old system all six wire were hooked up on a hobbycnc chopper board. I am now running on four wires with tb6600 drivers. Can you point me toward a debouncing tutorial?
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 14:22 #237330
by imslo
Replied by imslo on topic 7i96 Probe Problem
I am running Stretch with 2.9 cnc on the old system. On the new is Buster with cnc 2.8.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17883
- Thank you received: 4781
15 Mar 2022 14:49 #237335
by PCW
Replied by PCW on topic 7i96 Probe Problem
Its seems more likely that there is a difference in probe handling
between LinuxCNC versions 2.8 and 2.9
A single debounce component would be setup like:
loadrt debounce cfg=1
addf debounce.0 servo-thread
setp debounce.0.delay 10
net raw_probe hm2_7i96.0.gpioXXXX debounce.0.in
net probe_in debounce.0.out motion.probe-input
between LinuxCNC versions 2.8 and 2.9
A single debounce component would be setup like:
loadrt debounce cfg=1
addf debounce.0 servo-thread
setp debounce.0.delay 10
net raw_probe hm2_7i96.0.gpioXXXX 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 15:00 #237336
by imslo
Replied by imslo on topic 7i96 Probe Problem
Probe worked on Linuxcnc version 2.9, 2.8, 2.7 and probably 2.6 on the old system. Should I try to install 2.9. I have no idea where what you show above goes.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17883
- Thank you received: 4781
15 Mar 2022 15:45 #237338
by PCW
Replied by PCW on topic 7i96 Probe Problem
They can go anywhere in the hal file (but you need to change the existing connections)
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 16:09 #237340
by imslo
Replied by imslo on topic 7i96 Probe Problem
I put it at the beginning of the file and I am still getting the error. I changed
net raw_probe hm2_7i96.0.gpioXXXX debounce.0.in
to:
net raw_probe hm2_7i96.0.gpio0001 debounce.0.in
Is that the right syntax?
net raw_probe hm2_7i96.0.gpioXXXX debounce.0.in
to:
net raw_probe hm2_7i96.0.gpio0001 debounce.0.in
Is that the right syntax?
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 16:23 #237343
by imslo
Replied by imslo on topic 7i96 Probe Problem
Correction on last post.
The changes were not saved because I did not use sudo.
I did save the changes and Linuxcnc would not run.
The changes were not saved because I did not use sudo.
I did save the changes and Linuxcnc would not run.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19424
- Thank you received: 6516
15 Mar 2022 17:16 #237349
by tommylight
Shoudl probably be
net raw_probe hm2_7i96.0.gpio001 debounce.0.in
Replied by tommylight on topic 7i96 Probe Problem
net raw_probe hm2_7i96.0.gpio0001 debounce.0.in
Shoudl probably be
net raw_probe hm2_7i96.0.gpio001 debounce.0.in
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 19:48 #237364
by imslo
Replied by imslo on topic 7i96 Probe Problem
I put this in my Custom Hal file and no matter what I call the pin linuxcnc will not run and I get this error: ./custom.hal:7: Pin 'hm2/7i96.0.gpio001' does not exist. I have called it 0001, 001, .001 so anything I call it does not work.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10747
- Thank you received: 3543
15 Mar 2022 19:53 #237365
by rodw
Replied by rodw on topic 7i96 Probe Problem
comment the broken line out, open linuxcnc and halshow, review the pin name to get the correct name and edit your hal file
Please Log in or Create an account to join the conversation.
Time to create page: 0.086 seconds