# OPC arrays inside a UDT not compatible with Omron Driver?

**URL:** <https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742>\
**Category:** Ignition\
**Created:** [May 30, 2016, 5:41am UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742 "2016-05-30T05:41:51Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [May 30, 2016, 5:41am UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742/1 "2016-05-30T05:41:51Z")

</div>

I have been able to create arrays of all different datatypes in my Omron PLC and read them perfectly fine with the Omron Driver module.  
I can also create a UDT structure in the Omron PLC which consists of base tags like REAL, INT, BOOL etc… and read them into Ignition fine.

The problem i am currently having is trying to read an array of _somethings_ into Ignition when it is part of a UDT structure in the PLC.

For example i have a Recipe structure called [color=#FF0000]“UDT\_GradeRcp”[/color] which contains a Name (String) and a GradeMin (Array[0…10] Of Real). I can’t seem to read the array through the OPC browser as shown in the screen caps.

Is there no support for arrays when they are under the umbrella of another structure? It’s fairly important to us to be able to access these.

On a semi-related noted, I noticed that the Omron driver seemed to fail to work when tags were nested more than 3 layers deep. But surely an array beneath a UDT structure is only considered 2-3 layers deep anyway?

---

<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:** [May 30, 2016, 3:15pm UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742/2 "2016-05-30T15:15:04Z")

</div>

Sounds like a bug; we’ll look into it.

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [May 30, 2016, 7:50pm UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742/3 "2016-05-30T19:50:05Z")

</div>

Thanks, just want to add how awesome you guys are at keeping on top of things and helping out here on the forums. Much appreciated.

---

<div class="post-metadata">

**Author:** ![mhickerson](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@mhickerson](https://forum.inductiveautomation.com/u/mhickerson)\
**Post date:** [July 27, 2016, 3:18pm UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742/4 "2016-07-27T15:18:40Z")

</div>

It seems that the way the Omron driver was parsing array addresses under a struct wasn’t quite right; this has been addressed in Ignition v7.8.4. Thanks!

---

<div class="post-metadata">

**Author:** ![sliza](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@sliza](https://forum.inductiveautomation.com/u/sliza)\
**Post date:** [April 21, 2017, 6:02am UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742/5 "2017-04-21T06:02:21Z")

</div>

Hi there,

I have Omron NJ driver v 2.9.2 which I just downloaded with Ignition v7.9.1.  
I might have missed something here, but I am still experiencing the issue with array struture UDT.  
The issue is almost all of the tags value in Ignition are showing “null” while the driver is still showing “connected”

Any help is greatly appreciated. Thank you.

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [April 21, 2017, 6:15am UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742/6 "2017-04-21T06:15:58Z")

</div>

What is the structure of your UDT in the PLC?

---

<div class="post-metadata">

**Author:** ![sliza](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@sliza](https://forum.inductiveautomation.com/u/sliza)\
**Post date:** [April 21, 2017, 6:33am UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742/7 "2017-04-21T06:33:28Z")

</div>

I have 13 elements of INTs and 1 element of STRING[256]. It’s OK without Array but it doesn’t work with multiple arrays.

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [April 23, 2017, 8:19pm UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742/8 "2017-04-23T20:19:27Z")

</div>

I think there is an issue with having a STRING inside a UDT when you make an array of that UDT.

---

<div class="post-metadata">

**Author:** ![sliza](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@sliza](https://forum.inductiveautomation.com/u/sliza)\
**Post date:** [April 26, 2017, 12:12am UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742/9 "2017-04-26T00:12:17Z")

</div>

I thought so too, but I have tried deleting the STRING member and the problem is still the same.

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [April 26, 2017, 2:05am UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742/10 "2017-04-26T02:05:18Z")

</div>

Did you add the tags to the NJ Device tag table properly? It might be better to open a ticket with Support.

---

<div class="post-metadata">

**Author:** ![sliza](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@sliza](https://forum.inductiveautomation.com/u/sliza)\
**Post date:** [April 27, 2017, 5:45am UTC](https://forum.inductiveautomation.com/t/opc-arrays-inside-a-udt-not-compatible-with-omron-driver/11742/11 "2017-04-27T05:45:53Z")

</div>

Yes, I have done that. Thanks.
