Axis and tool length sensor troubles

More
1 year 3 months ago #331815 by seuchato
Hi all
After a couple of years, I am finally back and ready to making chips. I have a router, use steppers on parport. Linuxcnc is 2.9.4, debian:

Linux cnc0 6.1.0-35-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.137-1 (2025-05-07) x86_64 GNU/Linux

The router works, I can cut stuff etc. not the problem. The job that I want to do soon requires quite a few tool changes. So far I did it using the dowel method, but that is very time consuming. Sure an automatic tool changer would be perfect, but that's up for in a later stage. For now I have a tool length sensor, that I would like to use with my collet spindle to get tool length set after a manual tool change.

When I run tcdemo.ngc:

- goes to change position
- when I hit "Tool change complete", goes to zmax, tool sensor x and y, starts going towards the sensor.
- As soon as the sensor is touched, I get "Probe tripped during non-probe move" and program is stopped

How can I get over this?

I attach the relevant files in zipped folder "toollength_problem.zip"

Greez
chris






 

Please Log in to join the conversation.

More
1 year 3 months ago #331821 by seuchato
Forgot to also include the nc_subroutines.

In manual_change.ngc (see attached zip file) there  are the lines:

; probe tool length
M64 P  #<_ini[pins]probing> ; turn on probing led

cat gladevcp.hal:

net tool-change  motion.digital-out-00   gladevcp.change-led
net tool-changed gladevcp.changed        motion.digital-in-00
net toolno       motion.analog-out-00    gladevcp.number


net probing        motion.digital-out-01  gladevcp.probing-led
net enable         motion.digital-out-02  gladevcp.enable
# net probe-contact  gladevcp.probe-contact motion.probe-input
# net probe-contact  gladevcp.probe-contact motion.probe-input

net reftool        gladevcp.reftool       motion.digital-in-01

net reflen         motion.analog-out-01   gladevcp.reflen
net currlen        motion.analog-out-02   gladevcp.currlen

I think the signals and pins for the lines with "net probing " and "net enable" are incorrect.

What to set here?
greez
chris

 

Please Log in to join the conversation.

More
1 year 3 months ago #332217 by Billiiles

Hi all
After a couple of years, I am finally back and ready to making chips. I have a router, use steppers on parport. Linuxcnc is 2.9.4, debian doodle jump :

Linux cnc0 6.1.0-35-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.137-1 (2025-05-07) x86_64 GNU/Linux

The router works, I can cut stuff etc. not the problem. The job that I want to do soon requires quite a few tool changes. So far I did it using the dowel method, but that is very time consuming. Sure an automatic tool changer would be perfect, but that's up for in a later stage. For now I have a tool length sensor, that I would like to use with my collet spindle to get tool length set after a manual tool change.

When I run tcdemo.ngc:

- goes to change position
- when I hit "Tool change complete", goes to zmax, tool sensor x and y, starts going towards the sensor.
- As soon as the sensor is touched, I get "Probe tripped during non-probe move" and program is stopped

How can I get over this?

I attach the relevant files in zipped folder "toollength_problem.zip"

Greez
chris
You might want to double-check that the
Code:
G38.x command is active before motion toward the sensor begins. Also, review your HAL and INI files to confirm the probe input isn't being tripped by noise or an early signal. Did you try adding a small delay before the probe move to stabilize the signal?

Please Log in to join the conversation.

More
1 year 3 months ago #332224 by jjdege
Hi,
Check the Z travel to reach the probe in the .ini file.
Code:
[TOOLSENSOR] MAXPROBE = XXX

Please Log in to join the conversation.

More
1 year 2 months ago #332667 by seuchato
Thanks a ton to all of you: jjdege, Billiiles !!!

Off course your hints were pointing into the right direction. I just had to go further than I thought I had to.
In short:
- added debounce
- increased debounce.0.delay

That was it! :-)

I have manual tool change, prompting me for the tool required, hit OK, after change and then it measures tool length automatically. So happy!

Along the welcomed outcome, I stumbled across several problems. I'll wrap up my notes and write a comprehensive howto in due time.

Greez
a so happy chris

Please Log in to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum