Probebasic tool length calculation
- tsaG
- Offline
- Senior Member
-
Less
More
- Posts: 48
- Thank you received: 4
16 Nov 2025 22:39 #338542
by tsaG
Replied by tsaG on topic Probebasic tool length calculation
My Home Position is at the top of the Unit.
yes, I am using the Tool setter Page for the spindle Zero. However the Manual measurement was only off by 0,39mm (202 vs. 202,39mm).
I was using the Automatic Tool changing but had some issues (putting tools back sometimes stopped before the pocket and I had to restart linuxcnc, them the Tool was duplicated in the rack). For now I am switching by Hand.
yes, I am using the Tool setter Page for the spindle Zero. However the Manual measurement was only off by 0,39mm (202 vs. 202,39mm).
I was using the Automatic Tool changing but had some issues (putting tools back sometimes stopped before the pocket and I had to restart linuxcnc, them the Tool was duplicated in the rack). For now I am switching by Hand.
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Offline
- Moderator
-
Less
More
- Posts: 1511
- Thank you received: 716
17 Nov 2025 01:35 #338553
by Lcvette
Replied by Lcvette on topic Probebasic tool length calculation
Sorry for the delay I'm in the process of swapping dev PC's around so I can test on a clean install. In the interim. Check and see if your tool table has pockets listed in the file. If so, make sure the pocket and roll numbers are the same. Something in latest release of linuxcnc changed with pockets that I think is making a bit of a mess in some areas.
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Offline
- Moderator
-
Less
More
- Posts: 1511
- Thank you received: 716
17 Nov 2025 15:44 #338565
by Lcvette
Replied by Lcvette on topic Probebasic tool length calculation
ok, i have a clean install of everything and have ran a test with a new tool and everything seems to be working as expected on the main branch.
I set my parameters as follows and ran the test with the below results:
spindle zero = 10.0000
load new tool = 221
click touch off current tool
manually trigger probe tip button on probe page at Z-8.0015
spindle retracts home position
tool length offset is stored in tool table as 1.9985
z axis dro shows -1.9985
all of this seems to track correctly. can you try running things in your sim to see if it behaves differently from your machine? it may show something or maybe not.
also can you post your tool_touch_off.ngc subroutine code so i can compare to what the sim has? everything in the code appears to be correct and here it is tracking correct.
my earlier findings seem to be related to the experimental branch i was working on and the issues are not present on the clean install.
I set my parameters as follows and ran the test with the below results:
spindle zero = 10.0000
load new tool = 221
click touch off current tool
manually trigger probe tip button on probe page at Z-8.0015
spindle retracts home position
tool length offset is stored in tool table as 1.9985
z axis dro shows -1.9985
all of this seems to track correctly. can you try running things in your sim to see if it behaves differently from your machine? it may show something or maybe not.
also can you post your tool_touch_off.ngc subroutine code so i can compare to what the sim has? everything in the code appears to be correct and here it is tracking correct.
my earlier findings seem to be related to the experimental branch i was working on and the issues are not present on the clean install.
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.079 seconds