ID 20591

Missing corresponding #IF for current #ELSE.

Description

A conditional interpreter instruction was programmed with incomplete syntax. A #ELSE can only be programmed in combination with #IF/#ENDIF.

Example:

Wrong:

N10   G00 X0 Y0 Z0

#ELSE

:

N1000 M30

Correct:

N01   P1=0

#IF P1==1

N10     G00 X0 Y0 Z0

#ELSE

N25     G01 X100 Y0 Z0 F1000

#ENDIF

:

N1000 M30

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify the program flow sequence. Insert the #IF/#ENDIF instruction or delete the #ELSE.

Error type

1, Error message from NC program.