Yes. Link Tags can be used to transfer one array to another, provided the following:
- The arrays are the same size. It is best to use arrays with the same dimensions.
- The arrays are the same data type. Otherwise, the values must be moved from one type to another.
The examples displayed in the table below use address syntax from the Simulator Driver and do not include the channel and device names.
Input Array Tag/Type | Output Array Tag/Type | Succeeds w/o Error |
---|
K001[6] | K0100[6] | Yes |
K001[6] | K0100[2][3] | Yes |
K001[2][3] | K0100[6] | Yes |
K001[6] | K0100[2][2] | No |
K001[6] / Word | K0100[6] / DWord | Yes |
K001[6] / Float | K0100[6] / DWord | No |