ID 20224

'DEFAULT' must be programmed exclusively in NC-block.

Description

In the same NC block, a control block instruction was programmed with further NC commands. After a $DEFAULT no further NC commands may be programmed.

Example:

Wrong:

N10   G00 X0 Y0 Z0

N20   P1=5

N50   $SWITCH P1

:

N62   $DEFAULT G01 X100 F10000

:

N65   $ENDSWITCH

:

N1000 M30

Correct:

N10   G00 X0 Y0 Z0

N20   P1=5

N50   $SWITCH P1

:

N62   $DEFAULT

N63   G01 X100 F10000

:

N65   $ENDSWITCH

:

N1000 M30

For further information see [PROG// Section: Switch branching]

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify NC program. Move the not permissible NC commands after $DEFAULT to other NC blocks or delete them.

Error type

Abort NC program processing.