what is the right command(sequence) for adding new tool?

More
7 years 5 days ago #148884 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

Please Log in or Create an account to join the conversation.

More
7 years 3 days ago #149024 by HueyHQ
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.

Please Log in or Create an account to join the conversation.

More
7 years 3 days ago #149025 by Reinhard

... but tool.tbl is certainly editable, which is the way I initially setup my tools.

Well, I know, that the file is editable - and you probabely restart linuxcnc after changing the file (outside of linuxcnc).

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.

More
7 years 3 days ago #149026 by phillc54
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.

More
7 years 3 days ago #149027 by HueyHQ

HueyHQ wrote: I'm not sure if I misunderstand the question...

Yup, totally misunderstood the question! ;)

Please Log in or Create an account to join the conversation.

More
7 years 3 days ago #149060 by Reinhard
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.
.

Yup, totally misunderstood the question!

Thank you for your attention anyway!

Cheers Reinhard

Please Log in or Create an account to join the conversation.

Time to create page: 0.302 seconds
Powered by Kunena Forum