- Posts: 393
- Thank you received: 0
Limit Z axis travel depending on the current tool
7 years 8 months ago #125727
by emcPT
Limit Z axis travel depending on the current tool was created 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
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 to join the conversation.
7 years 8 months ago #125728
by pl7i92
Replied by pl7i92 on topic Limit Z axis travel depending on the current tool
You can use a User M-code to set the Z limit as you load the tool
Please Log in to join the conversation.
7 years 8 months ago #125909
by emcPT
Replied by emcPT on topic Limit Z axis travel depending on the current tool
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
If so, any example or documentation?
Thank you
Please Log in to join the conversation.
7 years 8 months ago #125981
by pl7i92
Replied by pl7i92 on topic Limit Z axis travel depending on the current tool
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
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 to join the conversation.
7 years 8 months ago #126399
by andypugh
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.
Replied by andypugh on topic Limit Z axis travel depending on the current tool
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 to join the conversation.
Time to create page: 0.088 seconds
