ID 20365

Overflow of sub-routine stack.

Description

In total, too many local sub-routines were defined in the main NC program or in combination with global sub-routines..

The number is determined by the sum of all %L definitions in the current "program stack" (main program UP1-UP11-UP111…). The sum may not exceed the specified maximum number

With the version-dependent start-up parameter

"configuration.channel[i].decoder.max_local_subroutine_definitions"

the maximum counter can be modified.

This error message has nothing to do with the nesting depth of actual subroutine calls!

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify NC program. Reduce the number of local subroutines. For example convert local sub-routines to global sub-routines.

Parameter

%1:

Limit value [-]

Maximum number of local sub-routines

Error type

1, Error message from NC program.