Skip to content

Commit

Permalink
increase max tools from 55 to 1000
Browse files Browse the repository at this point in the history
Signed-off-by: Rene Hopf <renehopf@mac.com>
  • Loading branch information
rene-dev committed Apr 7, 2020
1 parent 6fdb5c7 commit b51ef8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions configs/common/linuxcnc.nml
Expand Up @@ -7,12 +7,12 @@

# Top-level buffers to EMC
B emcCommand SHMEM localhost 8192 0 0 1 16 1001 TCP=5005 xdr queue confirm_write serial
B emcStatus SHMEM localhost 16384 0 0 2 16 1002 TCP=5005 xdr
B emcError SHMEM localhost 8192 0 0 3 16 1003 TCP=5005 xdr queue
B emcStatus SHMEM localhost 170000 0 0 2 16 1002 TCP=5005 xdr

# These are for the IO controller, EMCIO
B toolCmd SHMEM localhost 1024 0 0 4 16 1004 TCP=5005 xdr
B toolSts SHMEM localhost 8192 0 0 5 16 1005 TCP=5005 xdr
B toolCmd SHMEM localhost 2048 0 0 4 16 1004 TCP=5005 xdr
B toolSts SHMEM localhost 131072 0 0 5 16 1005 TCP=5005 xdr

# Processes
# Name Buffer Type Host Ops server? timeout master? cnum
Expand Down
2 changes: 1 addition & 1 deletion src/emc/nml_intf/emctool.h
Expand Up @@ -20,7 +20,7 @@
#include "emcpos.h"

/* Tools are numbered 1..CANON_TOOL_MAX, with tool 0 meaning no tool. */
#define CANON_POCKETS_MAX 56 // max size of carousel handled
#define CANON_POCKETS_MAX 1001 // max size of carousel handled
#define CANON_TOOL_ENTRY_LEN 256 // how long each file line can be

struct CANON_TOOL_TABLE {
Expand Down

0 comments on commit b51ef8c

Please sign in to comment.