Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum number of tools #28

Open
ArcEye opened this issue Aug 2, 2018 · 2 comments
Open

Maximum number of tools #28

ArcEye opened this issue Aug 2, 2018 · 2 comments

Comments

@ArcEye
Copy link
Collaborator

ArcEye commented Aug 2, 2018

Issue by machinekoder
Mon Jul 11 13:41:43 2016
Originally opened as machinekit/machinekit#989


The maximum number of tools is currently hard coded and limited to 56 (see https://github.com/machinekit/machinekit/blob/master/src/emc/nml_intf/emctool.h#L23). Would it make any problems to raise the number of supported tools to 100?

@ArcEye
Copy link
Collaborator Author

ArcEye commented Aug 2, 2018

Comment by ArcEye
Mon Jul 11 15:41:45 2016


See this from someone you know in US 😄
http://permalink.gmane.org/gmane.linux.distributions.emc.devel/14329

It would be worth chasing down the whole thread, Andy Pugh looked at the whole tool table issue some while back with a view to changing it to SQL or similar.

Looks like the only real issue is ensuring the buffers are large enough to accommodate the increased structure size.

@shulter
Copy link

shulter commented Dec 15, 2018

quoting from LinuxCNC/linuxcnc#411

to increase the tool amount you need to edit two files, i.e. 256 tools:

/configs/common/linuxcnc.nml
change:
emcStatus from 16384 to 33792
toolSts from 8192 to 33792

and /src/emc/nml_intf/emctool.h
CANON_POCKETS_MAX to 257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants