# OpcUA and 2d-arrays

**URL:** <https://forum.inductiveautomation.com/t/opcua-and-2d-arrays/76453>\
**Category:** Ignition\
**Created:** [July 17, 2023, 1:21pm UTC](https://forum.inductiveautomation.com/t/opcua-and-2d-arrays/76453 "2023-07-17T13:21:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Artem\_Eremeev](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@Artem\_Eremeev](https://forum.inductiveautomation.com/u/Artem_Eremeev)\
**Post date:** [July 17, 2023, 1:21pm UTC](https://forum.inductiveautomation.com/t/opcua-and-2d-arrays/76453/1 "2023-07-17T13:21:21Z")

</div>

I am using OPC UA to read data from S7-1500 PLCs. I have some structures containing 2d-arrays, defined like this for example:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/4/84dfa85d409132656be03a701f732e748a784a87.png)  
When trying to read this structure in Ignition, I get this error:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/8/88e10dbc9c6009abb5c9d3b85051074854535a5c.png)  
These are the settings for the tag:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/a/8ac829465f3890906e5cb8771e7786b629d10d64.png)

I've tested different things, and it seems like this is caused by 2d-arrays inside a structure.  
I can address those 2d-arrays directly, and it works fine, except they become 1d.  
Is that because Ignition does not support 2d-arrays in tags currently? What can be done so that Ignition won't stop decoding subsequent data in these structures?  
Also, I can provide wireshark captures of data I am getting from the PLC if needed.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 17, 2023, 1:24pm UTC](https://forum.inductiveautomation.com/t/opcua-and-2d-arrays/76453/2 "2023-07-17T13:24:47Z")

</div>

> [@Artem\_Eremeev](#):
>
> Is that because Ignition does not support 2d-arrays in tags currently?

Correct.

I'm not sure there's a work-around.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 17, 2023, 1:41pm UTC](https://forum.inductiveautomation.com/t/opcua-and-2d-arrays/76453/3 "2023-07-17T13:41:33Z")

</div>

If you set the Ignition tag type to StringArray you might get a flattened/1d value.

But otherwise, yes, as Phil said, Ignition’s tag system does not support multi dimensional arrays.
