# ID 21387

Conditional interpretation: #IF without corresponding #ENDIF programmed.
Description | A “Conditional interpretation” was programmed in incomplete syntax. An #IF must be terminated by an #ENDIF. Example: Wrong: N01 P1=0 #IF P1==1

N10 G00 X0 Y0 Z0

:

N25 G01 X100 Y0 Z0 F1000

:

N1000 M30

Correct:

N01 P1=0

#IF P1==1

N10 G00 X0 Y0 Z0

:

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. Complete the #IF/ #ENDIF instruction or delete the #IF.
Error type | 1, Error message from NC program.