write to Tool Table (specifically pocket) from O Code

More
27 Dec 2020 02:56 #193261 by jhandel
Howdy all,
Is there a way to write to a tools pocket via O code (or python that I can then expose as a custom G or M code?

Thanks
Josh

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

More
27 Dec 2020 03:39 #193263 by Aciera
Since the tool table is stored in a text file you could maybe try to use a bash script to modify it. Another question is whether that modified file can then be reloaded while running the Gcode.

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

More
27 Dec 2020 19:33 #193307 by jhandel
Hoping there is a way though Python + Remap or straight O-code/G-code...

There is G10, but that seems to only set tool length not tool diameter and not any other props (like pocket, which is what I am hunting for now)..

And there doesn't seem to be a way to read the table either :-(

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

More
15 Jan 2021 01:15 - 15 Jan 2021 01:16 #195388 by mikeross
Try M61
I accidentally had my machine set to random tool changer in the INI when doing an initial configuration and using M61 it seems that it looks for both the tool # and the pocket. So you may be able to set T to pocket Q by using M61 but I haven't tried myself.

If you don't have random tool changer configured M61 is content with just the tool # T
Last edit: 15 Jan 2021 01:16 by mikeross.

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

Time to create page: 0.142 seconds
Powered by Kunena Forum