ID 20211

Control block depth not sufficient. Control block nesting too big.

Description

In NC program too many control block commands are nested.

Example:

Wrong:
N10   G00 X0 Y0 Z0
N20  P1=1
N30  $IF
N40    $IF...
Nxx      $IF...
:             etc.
Nxx      $ENDIF
Nxx    $ENDIF
Nxx  $ENDIF
:
N1000 M30

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify NC program. Reduce nesting depth, modify structure of control block statements.

Parameter

%1:

Limit value [-]

Maximum nesting depth

Error type

1, Error message from NC program.