L’index constant ‘<index value>’ n’est pas compris entre ‘<start index>’ et ‘<end index>’
L’index spécifié est hors de la taille du tableau.
N’utilisez que des index qui correspondent à la taille du tableau.
PROGRAM PLC_PRG
VAR
arr1 : ARRAY[1..2] OF INT;
END_VAR
arr1[3] := 1;
--> C0049: The constant index '3' is not within the range from '1' to '2'
arr1[2] := 1;