ID 20229

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

Description

Start value, increment and end value of a $FOR loop need to be separated by ",".

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 initialization of the FOR loop.

Error type

Abort NC program processing.