ID 20228

FOR loop: After counting variable an equal sign '=' is expected.

Description

During the initialization of the FOR loop the starting value of the counting variable has to be assigned directly.

Example:

Wrong:

N10  G00 X0 Y0 Z0

N20  V.P.EIGENDEF = 0

N30  $FOR V.P.EIGENDEF,100,10

:

N150  $ENDFOR

:

N1000 M30

Correct:

N10  G00 X0 Y0 Z0

N30  $FOR V.P.EIGENDEF = 0,100,10

:

N150  $ENDFOR

:

N1000 M30

For further information see [PROG// Section: Counting loop]

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify NC program. Initialize the count variable correctly in the FOR loop.

Error type

Abort NC program processing.