Auto-Reload Tool Table Data in ATC Without External Script

More
15 Feb 2025 09:39 - 15 Feb 2025 09:41 #321621 by pd_2832
 

File Attachment:

File Name: ATC_CNC_20...15-2.ini
File Size:5 KB
 

File Attachment:

File Name: extract_da...-15-2.py
File Size:3 KB
 

File Attachment:

File Name: testing_2_...15-3.ngc
File Size:4 KB
 Hi,
I am working on a linear ATC project in LinuxCNC. Currently, my atc.ngc file uses data from tool.tbl, but I need to manually run an external Python script every time the tool table data changes to update atc.ngc.

Is there a way to automatically reload tool.tbl data into my ATC program without needing an external script? Can LinuxCNC directly access the updated tool table in real-time within G-code or any built-in mechanism to trigger an update?

Any suggestions or alternative solutions would be appreciated.

Thanks!

 
Attachments:
Last edit: 15 Feb 2025 09:41 by pd_2832.

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

More
15 Feb 2025 13:08 #321630 by jjdege
HI
Sorry, am I wrong or does LinuxCNC already take the tool values ​​from the .tbl file?
When you insert a new tool into the table, you update the table before closing it and LinuxCNC takes the new data, offset and diameter
X and Y depend on the rack are fixed in the tool_change.ngc file
It already works like this without external scripts
Maybe I misunderstand

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

Time to create page: 0.058 seconds
Powered by Kunena Forum