# ID 20211

Control block depth insufficient. Control block nesting too large.
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 of control block structures, possibly modify structure of control block sequences.
Parameter | %1: | Limit value [-]
Maximum nesting depth
Error type | 1, Error message from NC program.