ID 20972

Variable arrays must be declared in a #VAR...#ENDVAR block.

Description

The declaration of a variable array must be made in a #VAR...#ENDVAR block.

 

Incorrect part of the program:

V.P.NEW_VAR_1[6]=[1,2,3,4,5,6]

Corrected part of the program:

#VAR

  V.P.NEW_VAR_1[6]=[1,2,3,4,5,6]

#ENDVAR

[PROG// Section: Self-defined variables]

Response

Class

2

Abort NC program processing.

Solution

Class

3

Modification of NC program.

Error type

1, Error message from NC program.