ID 20567

#COMMENT END needs an accompanied #COMMENT BEGIN.

Description

A #COMMENT END was found in the NC program without a corresponding #COMMENT BEGIN.

Example:

Wrong:
N20   X100 F1000 G01
N30 #COMMENT END
:
N1000 M30
Correct:
N10 #COMMENT BEGIN
N20   X100 F1000 G01
N30 #COMMENT END
:
N1000 M30

For further information see [PROG// Section: Cross-block comments]

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify NC program. Add missing #COMMENT BEGIN or remove redundant #COMMENT END.

Note:

Even with nested comments, both #COMMENT BEGIN / #COMMENT END must always be programmed!

N10 #COMMENT BEGIN
:
N100    #COMMENT BEGIN
:
N200    #COMMENT END
N500 #COMMENT END
:
N1000 M30

Error type

1, Error message from NC program.