# ID 21656

Only possible to copy several elements between array variables.
Description | With external variables (see [EXTV]) complete field variables (array)can be assigned to each other. The condition is that a VE.Array variable of the same dimension and type is placed on the left and right sides. Example: Extract from the V.E. configuration list:

var[0].name V_ARRAY_1

var[0].type UNS32

var[0].array_elements 10

var[1].name V_ARRAY_2

var[1].type UNS32

var[1].array_elements 10

var[2].name V_UNS32

var[2].type UNS32

var[2].array_elements 0

Excerpt from the NC program:

V.E.V_ARRAY_1 = V.E.V_UNS32 (Error 21656, V.E.V_UNS32 is not an array variable)

V.E.V_ARRAY_1 = V.E.V_ARRAY_2 -> (Correct, all 10 UNS32 elements of V_ARRAY_2 are copied)

Response | Class | 2 | Error message output and NC program abort
Solution | Class | 3 | Correct NC program
Error type | 1, Error message from NC program.