ID 21447

Structure copy only possible with two external variables.

Description

Copying of a whole variable structure (structure copy) is only possible between external variables (see [EXTV]). They must both have the same variable type. Example:

 

var[1].name   var1

var[1].type     STRUCT_1

  

var[2].name   var2

var[2].type        STRUCT_1

 

Assignment in the NC-program:

Error:   V.E.var1 = 123

Correct:  V.E.var1 = V.E.VAR2

Response

Class

2

Abort NC program processing.

Solution

Class

3

Correct NC program.

Error type

1, Error message from NC program.