- Posts: 19899
- Thank you received: 4655
Tool offset patch
- andypugh
- Offline
- Moderator
-
jlviloria wrote: I would like to apply diametrically wear. but I have no idea where to change this.
I think that this is surprisingly hard.
You could (relatively) easily have a modified tool editor that displayed and accepted value dimensions but stored radius in the tool table. But that would not help with G10 (which can't be re-mapped)
Yo could possibly re-map G10.1 or G11 to do a G10 with half the offset given.
Please Log in or Create an account to join the conversation.
- LAIR82
- Offline
- Elite Member
-
- Posts: 197
- Thank you received: 3
cmorley wrote: Lairs:
I wondered if a modified tool_edit widget would be better for lathes:
The wear number is beside the offset rather then as a separate tool.
interested? It's not quite done yet...
Chris M
We actually would rather have the Wear Offset values on a separate tab all together, that way the operator doesn't fat finger the wrong entry, then possibly scrap a part, or even worse yet crash the machine.
All the other controls in our shop have the tool position data on one page normally called "Fixed Offsets" then the wear data is in another tab normally called "Assignable Offsets".
But I'm sure yours would be OK for a lot of the guys that are the only operator of the machine, and are paying attention a lot better than most of the guys in our shop, that when it breaks, or gets scrapped it's always, "Screw it, its not my money"
Rick
Please Log in or Create an account to join the conversation.
- jlviloria
- Offline
- Elite Member
-
- Posts: 161
- Thank you received: 9
Thanks for your reply.
Well we have a problem with the operators of the machines, all machines with commercial control is diametrical wear. and most of the errors of the piece is "diametrically compensate for wear.! is not my fault"
I'm just a newbie in programming. I tried to read the code and applies form as G43.2 think I have found a solution for me.
it may be something "easy" for you, but I wonder if these changes'm not breaking LinuxCNC. I have only been tested in simulator. any serious review helpful.
file = interp_convert.cc
line = 5178
The logic is working with diameter mode compensates for wear in diameter mode.
Please help me if this is feasible and does not break LinuxCNC gives me panic a machine try not to make a mistake.
thanks.
Jorge Viloria
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
Being inconsistent is worse than being "wrong"
How do your operators set the offset? Do they edit the tool-table, touch-off or use G10?
Please Log in or Create an account to join the conversation.
- jlviloria
- Offline
- Elite Member
-
- Posts: 161
- Thank you received: 9
work in mm and use the code "G7" for all lathes with LinuxCNC.
I do not update often LinuxCNC and apply a .diff because I have my custom GUI (custom gmoccapy).
The important thing right now if that change is really good, this change work?
that later will not be the cure worse than the disease. and damage any machine.
Do not think LinuxCNC maintainers accept this change and remain permanent.
when we have active G7 and we will compensate AXIS asks us to enter the diameter. and when this active G8 calls us to enter the radius.
I think it could work.
Jorge Viloria
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
jlviloria wrote: The important thing right now if that change is really good, this change work?
that later will not be the cure worse than the disease. and damage any machine.
Which GUI are you using?
Axis already makes changes in Diameter if you are in G7 mode. I think it does that with a G10.
So, one way to do what you want to do would be to add a special button (GladeVCP. PyVCP) that changes the tool table by a G10 command with a calculation.
You could imagine having radius and diameter buttons, even.
Please Log in or Create an account to join the conversation.