-

Semantic Error (SEM1196): Invalid index value.

In a code worksheet, an array index was specified which is not allowed. Currently, the maximum allowed array dimension is [-2147483648..2147483647] (corresponds to DINT value range).
Consequently, index values < -2147483648 and > 2147483647 are invalid.
This error is not reported due to an exceeded index value range but only due to a value which cannot be resolved as a valid array index.

Further Info
For information on user-defined data types and how to declare them refer to the chapter "User-defined data types".