ID 20365

Overflow of sub-routine stack.

Description

All in all too many local sub-routines were defined in the NC main program or in combination with global subroutines.

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

The version-dependent start-up parameter

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

can be used to modify the maximum counter.

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 subroutines to global subroutines.

Parameter

%1:

Limit value [-]

Maximum number of local subroutines

Error type

1, Error message from NC program.