Addresses of 2-dim array elements

The array elements of the two-dimensional array are subsequently saved in the memory of the PLC starting with element 1. The following memory allocation results for the example described above:

Array element name

Array element

FP address

IEC address

abVar2dim[3,1]

Element 1

R0

%MX0.0.0

abVar2dim[3,2]

Element 2

R1

%MX0.0.1

abVar2dim[3,3]

Element 3

R2

%MX0.0.2

...

...

...

...

abVar2dim[3,6]

Element 6

R5

%MX0.0.5

abVar2dim[4,1]

Element 7

R6

%MX0.0.6

abVar2dim[4,2]

Element 8

R7

%MX0.0.7

...

...

...

...

abVar2dim[5,4]

Element 16

RF

%MX0.0.15

abVar2dim[5,5]

Element 17

R10

%MX0.1.0

abVar2dim[5,6]

Element 18

R11

%MX0.1.1

Modified on: 2020-10-01Feedback on this pagePanasonic hotline