ID 20593

Conditional instruction has to be the first command in NC-block.

Description

The commands #IF/#ELSE/#ENDIF have to be programmed without a block numberdirectly at the beginning of a NC block.

 

Syntax example:

#IF P1 == TRUE

N10  X100

#ELSE

N20  X200 Y200 Z100

#ENDIF

:

N1000 M30

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify the NC program. Ensure, that #IF/#ELSE/#ENDIF are programmed at the beginning of a NC block.

Error type

1, Error message from NC program.