ID 20644

The macro contains an exclusive NC-command.

Description

If a macro contains an exclusive NC command (e.g. # command), no further NC commands may be programmed in the same NC block after the macro call.

Example:

Wrong:

%dummy

N10 "MACRO"="#FLUSH WAIT" (macro with excl. command)

N20 "MACRO" G01 X10 F1000

:

M30

Correct:

%kont

N10 "MACRO” = "#FLUSH WAIT" (macro with excl. command)

N20 "MACRO"

N30 G01 X10 F1000

:

M30

For further information see [PROG// Section: Macros]

Response

Class

2

Abort NC program processing.

Solution

Class

3

Move the NC commands after the macro call to a separate NC block.

Error type

1, Error message from NC program.