ID 20360

Stack overflow for global sub-routines.

Description

The maximum call depth for nested global sub-routines is exceeded.

This can occur for example when programming a recursion without termination criteria, e.g. a global subroutine calls itself continuously.

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify NC program. Reduce the call depth of nested global subroutines or modify the program flow. Avoid recursions.

Parameter

%1:

Limit value [-]

Maximum nesting depth for global sub-routines.

Error type

1, Error message from NC program.