SMC_CNC_LibParams (PARAMS)ΒΆ
- Attributes:
qualified_only
- InOut:
Scope
Name
Type
Initial
Comment
Constant
MAX_SUBPROGRAMS
UDINT
512
The maximum number of subprograms supported by SMC_ReadNCFile2. Increase this value if you get the error SMC_PRS_TOO_MANY_SUBPROGRAMS.
MAX_SUBPROGRAM_PARAMS
UDINT
21
The maximum number of CNC subprograms parameters and local variables supported by SMC_ReadNCFile2 and SMC_ReadNCFromStream. Increase this value if you get the error SMC_PRS_TOO_MANY_SUBPROGRAM_PARAMETERS or SMC_PRS_TOO_MANY_LOCAL_VARIABLES.
MAX_SUBPROGRAM_NESTING_DEPTH
UDINT
14
The maximum nesting depth for CNC subprogram calls. Increase this value if you get the error SMC_NAV_MAX_SUBPROGRAM_NESTING_EXCEEDED.
EVAL_STACK_SIZE
UDINT
100
The size of the evaluation stack for expressions in |SMC_NC_Interpreter|. Increase this value if you get the error SMC_IPR_EVAL_STACK_OVERFLOW.
MAX_GWORDS_PER_SENTENCE
UDINT
128
The maximum number of G-Words supported for one sentence. Increase this value if you get the error SMC_RNCF_BUFFER_TOO_SMALL.
SENTENCE_BUFFER_SIZE
UDINT
100
The size of the G-Code sentence jump buffer. Increase this value if the performance of G-Code jumps (G20) is poor.