Good day, I am trying to declare a two-dimensional array but I am getting an error. What am I doing wrong? I am struggling to find information on this. Thanks Damian
Try this instead: TYPE StatusArray : ARRAY[0..5] OF ARRAY[0..5] OF DINT; END_TYPE
Thanks for the suggestion. That works but how would you reference a specific point in an array of arrays? Typically I’d do this. [attachment]image_2021-03-18_111900.png[/attachment] But I get these errors [attachment]image_2021-03-18_112059.png[/attachment] Any advice?


Try it like this: Array[0][1] Details like this can be found in the „Help“ section of the PLCnext Engineer
Thanks, Oliver, That clears the errors! I found the arrays section under user-defined data types and that explains the whole procedure quite well.