30.3.2.3 Arrays and
Array Sizes
You can specify arrays for bit, integer, float, and real
variables. The maximum number of array elements you can set up is
4096.
A maximum of 4096 levels can be set. However, the float and real
variable limit is 128 items.
Arrays provide you with a method to manipulate multiple elements
in a single variable. It enables you to group variables with the
same type and save it all at one time.
Imagine the drawers of a desk or chest, for example.
A chest with an array size of 10 has 10 drawers from [0] to [9].
Each drawer is called Chest [0], Chest [1], ..., Chest [9].
Each of these drawers becomes a data register on the PLC. If 10
Chest memories are used, the array method calls the array size 10
with the symbol variable name Chest.
|