Touch probe on a 5 DoF robotic arm

More
16 Dec 2020 13:40 - 16 Dec 2020 13:42 #192134 by elisa
Hi everybody,

I am using a touch probe on a 5 DoF robotic arm. I have problems with the command G38.3, I have written the code attached here and when I run it [the robot doesn't stop in case of contact as expected.

File Attachment:

File Name: test_probe.ngc
File Size:1 KB


Any suggestions?

Please write me soon._

NOTE : I am using a trivial kimeatics so X,YZ,A,B are the joint angles
Attachments:
Last edit: 16 Dec 2020 13:42 by elisa.

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 17:33 #192147 by tommylight
Do you have a probe input set in hal ?

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 18:16 #192150 by elisa
Yes, I have

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 19:01 #192155 by elisa
Any suggesttions?

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 19:10 #192156 by tommylight
Use halshow to check if the pin is triggering.

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 20:09 #192174 by elisa
I check it and it is triggered, but when the code is run, if the probe is triggered, the robot doesn't stop moving as expected
It seems that g38. 3 doesn't work..
Do you think that the code is correct or maybe there are some mistakes?

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 20:25 #192179 by tommylight
Can you try with G38.2 and see if it triggers an error ?
linuxcnc.org/docs/2.6/html/gcode/gcode.html#sec:G38-probe
The following user(s) said Thank You: elisa

Please Log in or Create an account to join the conversation.

More
17 Dec 2020 14:12 #192247 by elisa
It works, thank you!
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.251 seconds
Powered by Kunena Forum