ID 20158

Double-programmed M02/M30 or M17/M29.

Description

Within the same NC block, the subroutine-terminating M functions M2, M17, M29 or M30 are programmed several times.

Remark: Depending on the sequence of programming of M2, M17, M29 M30 in this context, the error message 20376 "Unexpected M17 or M29" might occur.

Example 1:

Wrong:

%UP1

N10 X10 Y10 Z10

N20 M17 M30

%HP

N10   G00 X0 Y0 Z0

N20   LL UP1

N30   M30

Correct:

%L UP1

N10 X10 Y10 Z10

N20 M17

%HP1

N10   G00 X0 Y0 Z0

N20   LL UP1

N30   M30

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify NC program. Remove surplus M function.

Parameter

%1:

Current value [-]

Number of the multiple programmed M function

Error type

1, Error message from NC program.