ID 20212
After 'IF' only the condition is permissible. | |||
Description | In the same NC block, a control block instruction was programmed with further NC commands. After a $IF instruction, only the corresponding condition may be programmed. Example: Wrong: N10 G00 X0 Y0 Z0 P1=0 N20 $IF P1==1 X100 G01 F1000 N30 Y200 N40 $ENDIF : N1000 M30 Correct: N10 G00 X0 Y0 Z0 P1=0 N20 $IF P1==1 N25 X100 G01 F1000 N30 Y200 N40 $ENDIF :
| ||
Response | Class | 2 | Abort NC program processing. |
Solution | Class | 3 | Check and modify NC program. Move the not permissible NC commands to other NC blocks or delete them. Exception: A $IF instruction may be combined with a $GOTO command in the same block. In this case, no $ENDIF is required any longer. |
Error type | 1, Error message from NC program. | ||
|