An array is a collection of variables with the same data type. Each variable in an array is called an element.
To understand how an array variable works, think of a variable as a box. As shown in the following diagram, the variable Number is a single box containing one value.
Think of an array as a row of boxes with a number associated with each box. In the following diagram, the array variable Number contains 5 elements 0-4. Variable values are stored in each of the 5 boxes.
A multidimensional array is an array that contains other arrays (Example: An array that contains two DINT arrays is a two-dimensional array).
Indirect addressing is the fastest way to access a variable value within a range of consecutive values in an array, to minimize memory consumption, and to update the value within milliseconds.
Indirect addressing of array supports dynamic way of changing the array index depending on the variable value in display unit (Example: Indirect array can be expressed as Array11[DINT1.value,1], Array21[DINT1.value,DINT2.value], Array31[Array22[DINT1.value,1]]).
The indirect addressing of array is supported for the following: