ID 20229

FOR loop: During initialisation of counting variable a comma ',' is expected.

Description

Start value, increment and end value of a FOR loop must be separated by a comma ‘,’.

Example:

Wrong:

N10   G00 X0 Y0 Z0

N20   $FOR P1 = 1 10,1

:

N150  $ENDFOR

:

N1000 M30

Correct:

N10   G00 X0 Y0 Z0

N20   $FOR P1 = 1,10,1

:

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. Add missing commas in the initialisation of the FOR loop.

Error type

Abort NC program processing.