Limit to number of tools in tool table

More
11 years 1 month ago #62360 by LearningLinuxCNC

BigJohnT wrote: Maybe you can help me with C++ and I can help you with Python :)

JT


My worst programming nightmares were while I was automating Pro Engineer with C++ and the ProE API.

Pointer here, Pointer there, Horrible debugging AHHHHHHHHH! So many years ago, I had almost forgotten the horrors.

From my initial impressions and playing I like Python better!

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

More
8 years 3 months ago - 8 years 3 months ago #113440 by ciccio85
Hello,

any news about this feature?

I found this workaround: github.com/LinuxCNC/linuxcnc/issues/411

and seems to work!
Last edit: 8 years 3 months ago by ciccio85. Reason: New information

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

More
8 years 1 month ago #117903 by Gommiswald
Hi
I also wanted to change one of my CNC milling machinges to linuxCNC, but with the limation of tools to 56, I have no chance. For the milling machine I have about 150 tools.
I tried the above link, changed the two files with no resultat. T60 M6 G43 will give a error message.
Also the limitation that a tool must always have a specific pocket number - never the same - it is difficult to work with tool turret. If you have a carousel with 8 places, but a you have more than these 8 tools - what can we do? IMO it is normal, that a tool number 1 and a tool number 9 could have the same pockets.

Has anybody an idea? It would be great.

Daniel

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

More
8 years 1 month ago #117908 by andypugh
You can _own_ more than 56 tools as long as you don't have them all in the tool table at the same time.

So, you can keep all the tools in (for example) a spreadsheet and paste them in to the tool table as you add them to a project.

I realise this is not ideal, and I spent a long time some years ago working on keeping an unlimited number of tools in a database, but never got it integrated into a released version of linuxCNC.

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

More
7 years 11 months ago #120080 by szatri

Tool table limit (257 instead of 56)
By default the tool limit of linuxcnc is 56 tools. This is normally to low (after all we are not working with a >10 year controller). To solve this two changes must be made in the source code as described below:

linuxcnc.nml
The file linuxcnc.nml is located at:

"your linuxcnc-dev"/configs/common/linuxcnc.nml

Two changes should be made:

Replace the value 16384 of line number 10:

B emcStatus SHMEM localhost 16384 0 0 2 16 1002 TCP=5005 xdr

to 33792

B emcStatus SHMEM localhost 33792 0 0 2 16 1002 TCP=5005 xdr


and replace the value 8192 of line number 15:

B toolSts SHMEM localhost 8192 0 0 5 16 1005 TCP=5005 xdr

to 33792

B toolSts SHMEM localhost 33792 0 0 5 16 1005 TCP=5005 xdr


emctool.h
The file emctool.h is located at:

"your linuxcnc-dev"/src/emc/nml_intf/emctool.h

One change should be made:

Replace the value 56 of line number 23:

define CANON_POCKETS_MAX 56

to 257

define CANON_POCKETS_MAX 257


Compile and have fun with more tools!


Hello, where can I find these files for editing?
it is not in the machine settings directory.

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

More
7 years 11 months ago #120092 by andypugh
These changes require downloading the source-code of LinuxCNC and re-compiling.

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

Time to create page: 0.314 seconds
Powered by Kunena Forum