Limit Z axis travel depending on the current tool
- emcPT
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 702
- Thank you received: 139
05 Feb 2019 13:56 #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 or Create an account to join the conversation.
- pl7i92
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1872
- Thank you received: 357
05 Feb 2019 13:58 #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
The following user(s) said Thank You: emcPT
Please Log in or Create an account to join the conversation.
- emcPT
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 702
- Thank you received: 139
07 Feb 2019 08:00 #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 or Create an account to join the conversation.
- pl7i92
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1872
- Thank you received: 357
08 Feb 2019 08:17 #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 or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23328
- Thank you received: 4950
13 Feb 2019 22:10 #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
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.141 seconds