Limit Z axis travel depending on the current tool

More
05 Feb 2019 13:56 #125727 by emcPT
Hello to the forum.

Imagine a lathe where most of the tools have different (very different) lengths.
It is possible to define a maximum travel, in the chuck direction, in such a way that the tool length (Z offset) is taken in account? This could avoid a collision with the chuck.

Thank you

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

More
05 Feb 2019 13:58 #125728 by pl7i92
You can use a User M-code to set the Z limit as you load the tool
The following user(s) said Thank You: emcPT

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

More
07 Feb 2019 08:00 #125909 by emcPT
It is then possible to change the soft limit during the program execution - did I understood correctly?
If so, any example or documentation?
Thank you

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

More
08 Feb 2019 08:17 #125981 by pl7i92
In First place if you use G43 Hx
The G-code Loading will tell you the Trevel is out of Limit

But as You are Multitool you are looking for not craching the Tools in Holder to the Spindle i guess
THAT is PART of the CAM SYSTEM

BUT look here on Direct Commands linuxcnc.org/docs/html/man/
Man3 is the place
if man9 fails carousell got a limiter for the tools

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

More
13 Feb 2019 22:10 #126399 by andypugh

emcPT wrote: Imagine a lathe where most of the tools have different (very different) lengths.
It is possible to define a maximum travel, in the chuck direction, in such a way that the tool length (Z offset) is taken in account? This could avoid a collision with the chuck.


You could maybe use the HAL pins ini.N.max_limit (etc) linuxcnc.org/docs/devel/html/config/core..._pins_and_parameters in conjunction with the halui tool lengths: linuxcnc.org/docs/devel/html/man/man1/halui.1.html
Then it is probably a simple bit of HAL maths to combine them.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum