Axis and tool length sensor troubles

  • seuchato
  • Away
  • Platinum Member
  • Platinum Member
More
14 Jul 2025 14:23 #331815 by seuchato
Axis and tool length sensor troubles was created 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






 
Attachments:

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

  • seuchato
  • Away
  • Platinum Member
  • Platinum Member
More
14 Jul 2025 15:47 - 14 Jul 2025 15:48 #331821 by seuchato
Replied by seuchato on topic Axis and tool length sensor troubles
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

 
Attachments:
Last edit: 14 Jul 2025 15:48 by seuchato.

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

Time to create page: 0.046 seconds
Powered by Kunena Forum