- Posts: 508
- Thank you received: 94
what is the right command(sequence) for adding new tool?
- Reinhard
- Offline
- Platinum Member
-
Less
More
7 years 5 days ago #148884
by Reinhard
what is the right command(sequence) for adding new tool? was created by Reinhard
Hi,
I'm able to manage changes of existing tools yet, but I had no success on adding a new tool to list.
Andypugh told me to treat tool-table-file as readonly, which works for minor administration changes.
I looked at the NML classes containing tool in name, but none of them sounded appropriate ...
... and most of them have no parameters.
Any hint is appreciated
I'm able to manage changes of existing tools yet, but I had no success on adding a new tool to list.
Andypugh told me to treat tool-table-file as readonly, which works for minor administration changes.
I looked at the NML classes containing tool in name, but none of them sounded appropriate ...
... and most of them have no parameters.
Any hint is appreciated
Please Log in or Create an account to join the conversation.
- HueyHQ
- Offline
- Premium Member
-
Less
More
- Posts: 90
- Thank you received: 24
7 years 3 days ago #149024
by HueyHQ
Replied by HueyHQ on topic what is the right command(sequence) for adding new tool?
I'm not sure if I misunderstand the question, but tool.tbl is certainly editable, which is the way I initially setup my tools.
Alternatively, you can add tools using File -> Edit Tool Table, from memory.
Alternatively, you can add tools using File -> Edit Tool Table, from memory.
Please Log in or Create an account to join the conversation.
- Reinhard
- Offline
- Platinum Member
-
Less
More
- Posts: 508
- Thank you received: 94
7 years 3 days ago #149025
by Reinhard
I'm working on an UI, that enables the user do all the tasks as with a professional mill.
After andypugh told me, that I should treat the file as readonly, I did some tests.
Linuxcnc (one of the background processes) reads the tool table file and NML-status structure reflects the tool table.
Changes to tool offsets are sent from the UI to linuxcnc and on shutdown linuxcnc writes the changes to that file.
Then I found out, that linuxcnc status structure can hold about 50 tools and I thought, what if you have a big tool changer for that 50 tools but have more tools than you can place in the toolchanger.
Then you need a way to put tools in and pull others out (for me tool table file holds the tools inside atc).
Physically no problem - respect to data this should be possible during runtime of linuxcnc.
For me its no problem to change tool-table file. But then I need a way to tell linuxcnc that the file has changed and need to be imported again.
Shuting linuxcnc down and restarting it again sounds quite unprofessional to me, so I look for another way.
May be someone has already done that and can shine me a light?
Replied by Reinhard on topic what is the right command(sequence) for adding new tool?
Well, I know, that the file is editable - and you probabely restart linuxcnc after changing the file (outside of linuxcnc).... but tool.tbl is certainly editable, which is the way I initially setup my tools.
I'm working on an UI, that enables the user do all the tasks as with a professional mill.
After andypugh told me, that I should treat the file as readonly, I did some tests.
Linuxcnc (one of the background processes) reads the tool table file and NML-status structure reflects the tool table.
Changes to tool offsets are sent from the UI to linuxcnc and on shutdown linuxcnc writes the changes to that file.
Then I found out, that linuxcnc status structure can hold about 50 tools and I thought, what if you have a big tool changer for that 50 tools but have more tools than you can place in the toolchanger.
Then you need a way to put tools in and pull others out (for me tool table file holds the tools inside atc).
Physically no problem - respect to data this should be possible during runtime of linuxcnc.
For me its no problem to change tool-table file. But then I need a way to tell linuxcnc that the file has changed and need to be imported again.
Shuting linuxcnc down and restarting it again sounds quite unprofessional to me, so I look for another way.
May be someone has already done that and can shine me a light?
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5711
- Thank you received: 2100
7 years 3 days ago #149026
by phillc54
Replied by phillc54 on topic what is the right command(sequence) for adding new tool?
You can reload the tool table from within tooledit.
linuxcnc.org/docs/html/gui/tooledit.html
Please Log in or Create an account to join the conversation.
- HueyHQ
- Offline
- Premium Member
-
Less
More
- Posts: 90
- Thank you received: 24
7 years 3 days ago #149027
by HueyHQ
Replied by HueyHQ on topic what is the right command(sequence) for adding new tool?
Yup, totally misunderstood the question!HueyHQ wrote: I'm not sure if I misunderstand the question...
Please Log in or Create an account to join the conversation.
- Reinhard
- Offline
- Platinum Member
-
Less
More
- Posts: 508
- Thank you received: 94
7 years 3 days ago #149060
by Reinhard
Replied by Reinhard on topic what is the right command(sequence) for adding new tool?
Hi Phil,
thank you for that hint. I skipped tooleditor completely
As usual with axis, information is pretty obfuscated - but after all I found the command.
Yes, I overseen it too.
Will try it soon.
.
Cheers Reinhard
thank you for that hint. I skipped tooleditor completely
As usual with axis, information is pretty obfuscated - but after all I found the command.
Yes, I overseen it too.
Will try it soon.
.
Thank you for your attention anyway!Yup, totally misunderstood the question!
Cheers Reinhard
Please Log in or Create an account to join the conversation.
Time to create page: 0.302 seconds