You may use a one-dimensional array element by entering identifier e.g. aiVar1dim (ARRAY OF [iRange1] INT)
iRange1 is a variable of the type INT or a constant which has to be within the value range of the array declaration. For this example iRange1 is assigned to the range 0...15, e.g. ARRAY [0..15] OF INT
In the example you call up the third array element (element 3) with aiVar1dim[2].
POU header
LD body
ST body
aiVar1dim[2] := iCurrent_temp;
IL body
LD iCurrent_temp
ST aiVar1dim[2]