I'm sorry, I emulated and index tags really need to be the same, if you don't want to use a multi dimension array, you could do this:
MUL MyIndex1 32 Index ADD Index MyIndex2 Index
OTE "MyArray[(Index AND NOT 31) / 32].[Index AND 31]"
All tags are DINT.
This could be done for INT also, just change 31 to 15 and 32 to 16.
James
I am sorry but this makes no sence to me
Lets clear this again
N[N7_200][C5_1_ACC]
N7_200 is an alias to the value in N7[200]
C5_1_ACC is an alias to the value in C5[1].ACC
The value ranges of N7_200 is 17, 18, 19, 20, 21, 22, 23
based on the code construction
so N[xxx] will always be N17 or N18 or N19 or N20
or N21 or N22 or N23
C5_1_ACC hs a range based on the code of 1 - 7
so each the posibilites are as follows
N17[1], N17[2], N17[3], N17[4], N17[5], N17[6], N17[7]
N18[1], and so on
so there are 7 * 7 posibilities
N_ARRAY[7,7]
Now creating an array like N_ARRAY[array1, array2] will not work because array2 can not be indexed with array1
and there no way to add them.