- Posts: 197
- Thank you received: 3
Tool offset patch
- LAIR82
- Offline
- Elite Member
-
Less
More
13 years 5 months ago #33985
by LAIR82
Replied by LAIR82 on topic Re:Tool offset patch
Hello Chris,
I thought I just had too much coffee the day I actually read the info in the patch, I didn't understand it either but the latter is correct. Wear offsets are in "tools" 10001-100027 and the tool geometry is under "tool" 1-17. If I make a tool call of T01 then it will change to tool 1 and not apply any wear offset. If I call T0101, then it will change to tool 1 and apply wear offset 01. You could also make a call of T0102, tool 1 offset 02, T0103, tool 1 offset 03 and so on, to apply different offsets to different diameters or shoulders on the same part.
I have a question on the tool data disappearing on our other build. The actual tool.tbl file was made under the AXIS display on that machine, then I switched it to gscreen at the end and turned it over to production. Could there be any discrepancies between the two that would cause the erratic behaviour?
Attached is our tool file that uses the patch.
Thanks
Rick
I thought I just had too much coffee the day I actually read the info in the patch, I didn't understand it either but the latter is correct. Wear offsets are in "tools" 10001-100027 and the tool geometry is under "tool" 1-17. If I make a tool call of T01 then it will change to tool 1 and not apply any wear offset. If I call T0101, then it will change to tool 1 and apply wear offset 01. You could also make a call of T0102, tool 1 offset 02, T0103, tool 1 offset 03 and so on, to apply different offsets to different diameters or shoulders on the same part.
I have a question on the tool data disappearing on our other build. The actual tool.tbl file was made under the AXIS display on that machine, then I switched it to gscreen at the end and turned it over to production. Could there be any discrepancies between the two that would cause the erratic behaviour?
Attached is our tool file that uses the patch.
Thanks
Rick
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
13 years 5 months ago #34010
by cmorley
The code clear says the geometry offsets are toolnumber + 10000
Your attachment was not attached.
Also what does the toolchange popup say about tool number?
Chris M
Replied by cmorley on topic Re:Tool offset patch
Code:
+ if (FEATURE(LATHE_TOOLCHANGE)) {
+ if (block->t_number > 99 && block->t_number<10000) {
+ geo_offset_register = floor(block->t_number/100) + 10000; // geometery offset is first two digits of T call, plus 10000 offset
+ wear_offset_register = block->t_number % 100; // wear offset is second two digits
+ } else if (block->t_number < 100) {
+ geo_offset_register = block->t_number + 10000; // per Smit (p.404 CNC Fundamentals) geo offsets are offset by 10000
The code clear says the geometry offsets are toolnumber + 10000
Your attachment was not attached.
Also what does the toolchange popup say about tool number?
Chris M
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
13 years 5 months ago #34013
by cmorley
Replied by cmorley on topic Re:Tool offset patch
AXIS writing the tool file first - I am 99% sure this could not cause a problem.
Chris M
Chris M
Please Log in or Create an account to join the conversation.
- jlviloria
- Offline
- Elite Member
-
Less
More
- Posts: 161
- Thank you received: 9
13 years 5 months ago #34017
by jlviloria
Replied by jlviloria on topic Re:Tool offset patch
I think it should go here
Crhis know the limitation of my English will try my best.
<Tool Editor>
4 = geometry tool = -80.01
10004 = wear tool = 0.6
(I do not use g92 or g54)
1) proceed to "compensate" my tool in Z axis.
2) I press the key "tool-set", digit 0
3) The value of Z in absolute position is 0.6 (take the offset value (10004))
4) delete the offset value (10004) placed him 0, I press apply, reload. back to "compensate"
5) I press key "tool-set" digit 0, and the value returns to 0.6 (the value of wear (10004) is again 0.6)
6) repeat the operation and got it.
7) the third or fourth attempt takes the value 0 at absolute and the wear (10004).
when I try to change the tool, get the message "request not found tool 10004 in tool table".
9) I go to the tool-editor, all erased.
I think that happens when you go to "Compensate" a tool that has already been compensated before.
Thanks,
Jorge
Crhis know the limitation of my English will try my best.
<Tool Editor>
4 = geometry tool = -80.01
10004 = wear tool = 0.6
(I do not use g92 or g54)
1) proceed to "compensate" my tool in Z axis.
2) I press the key "tool-set", digit 0
3) The value of Z in absolute position is 0.6 (take the offset value (10004))
4) delete the offset value (10004) placed him 0, I press apply, reload. back to "compensate"
5) I press key "tool-set" digit 0, and the value returns to 0.6 (the value of wear (10004) is again 0.6)
6) repeat the operation and got it.
7) the third or fourth attempt takes the value 0 at absolute and the wear (10004).
9) I go to the tool-editor, all erased.
I think that happens when you go to "Compensate" a tool that has already been compensated before.
Thanks,
Jorge
Please Log in or Create an account to join the conversation.
- jlviloria
- Offline
- Elite Member
-
Less
More
- Posts: 161
- Thank you received: 9
13 years 5 months ago - 13 years 5 months ago #34018
by jlviloria
Replied by jlviloria on topic Re:Tool offset patch
I think it should go here
Crhis know the limitation of my English will try my best.
<Tool Editor>
4 = geometry tool = -80.01
10004 = wear tool = 0.6
(I do not use g92 or g54)
1) proceed to "compensate" my tool in Z axis.
2) I press the key "tool-set", digit 0
3) The value of Z in absolute position is 0.6 (take the offset value (10004))
4) delete the offset value (10004) placed him 0, I press apply, reload. back to "compensate"
5) I press key "tool-set" digit 0, and the value returns to 0.6 (the value of wear (10004) is again 0.6)
6) repeat the operation and got it.
7) the third or fourth attempt takes the value 0 at absolute and the wear (10004).
when I try to change the tool, get the message "request not found tool 10004 in tool table".
9) I go to the tool-editor, all erased.
I think that happens when you go to "Compensate" a tool that has already been compensated before.
Chris you are right, if you clear the table tool, 1000n always says not found. never says tool-n is not, so you just put t1 without wear. but when it compensates the value set to "n" not "1000n" I think there is the conflict.
Thanks,
Jorge
Crhis know the limitation of my English will try my best.
<Tool Editor>
4 = geometry tool = -80.01
10004 = wear tool = 0.6
(I do not use g92 or g54)
1) proceed to "compensate" my tool in Z axis.
2) I press the key "tool-set", digit 0
3) The value of Z in absolute position is 0.6 (take the offset value (10004))
4) delete the offset value (10004) placed him 0, I press apply, reload. back to "compensate"
5) I press key "tool-set" digit 0, and the value returns to 0.6 (the value of wear (10004) is again 0.6)
6) repeat the operation and got it.
7) the third or fourth attempt takes the value 0 at absolute and the wear (10004).
9) I go to the tool-editor, all erased.
I think that happens when you go to "Compensate" a tool that has already been compensated before.
Chris you are right, if you clear the table tool, 1000n always says not found. never says tool-n is not, so you just put t1 without wear. but when it compensates the value set to "n" not "1000n" I think there is the conflict.
Thanks,
Jorge
Last edit: 13 years 5 months ago by jlviloria.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
13 years 5 months ago #34022
by cmorley
Replied by cmorley on topic Re:Tool offset patch
definitely T1000n holds the tool geometry and nominal offsets.
Tn holds the wear offsets.
I'm not sure why this is. I would have thought the other way would make sense.
also then the tool request dialog would ask for tn rather then t1000n.
It's an easy fix but I don't want to do it if there is a real reason not too.
As for the erasing toolfile I haven't got it to erase yet - but I'm using a slightly different patch - I will try the original patch.
Thanks for information Jorge.
Chris M
Tn holds the wear offsets.
I'm not sure why this is. I would have thought the other way would make sense.
also then the tool request dialog would ask for tn rather then t1000n.
It's an easy fix but I don't want to do it if there is a real reason not too.
As for the erasing toolfile I haven't got it to erase yet - but I'm using a slightly different patch - I will try the original patch.
Thanks for information Jorge.
Chris M
Please Log in or Create an account to join the conversation.
Time to create page: 2.125 seconds