# Tag is Bad Quality in UDT

**URL:** <https://forum.inductiveautomation.com/t/tag-is-bad-quality-in-udt/47808>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 15, 2021, 8:46pm UTC](https://forum.inductiveautomation.com/t/tag-is-bad-quality-in-udt/47808 "2021-06-15T20:46:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![TCARLSON](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@TCARLSON](https://forum.inductiveautomation.com/u/TCARLSON)\
**Post date:** [June 15, 2021, 8:46pm UTC](https://forum.inductiveautomation.com/t/tag-is-bad-quality-in-udt/47808/1 "2021-06-15T20:46:33Z")

</div>

I have been using a UDT for a template I am working on. One of the Bools inside of the UDT is showing bad quality but I can’t seem to figure out why. I have tried deleting the tag and recreating it. That did not work. I then tried to delete the tag out of the UDT and recreate the tag inside the UDT and that did not work. I then created a OPC tag pointing directly to the Bool value in the PLC and that also did not work. Any ideas would be helpful. The other 6 Bools inside of the UDT work just fine.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 15, 2021, 9:51pm UTC](https://forum.inductiveautomation.com/t/tag-is-bad-quality-in-udt/47808/2 "2021-06-15T21:51:07Z")

</div>

What’s the plc? If AB, is the tag set to read/write in the plc?

---

<div class="post-metadata">

**Author:** ![TCARLSON](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@TCARLSON](https://forum.inductiveautomation.com/u/TCARLSON)\
**Post date:** [June 15, 2021, 10:30pm UTC](https://forum.inductiveautomation.com/t/tag-is-bad-quality-in-udt/47808/3 "2021-06-15T22:30:16Z")

</div>

The PLC is AB and the bool was set to None inside the Addon Instruction. My engineer just gave me a host of these instructions. Think I will take a bit closer look at the rest of them Thanks nminchin.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [June 16, 2021, 2:22am UTC](https://forum.inductiveautomation.com/t/tag-is-bad-quality-in-udt/47808/4 "2021-06-16T02:22:57Z")

</div>

Before you get too far into things, know it's better to use UDTs vs AOIs. I tried to be stubborn, but in the end had to spend a day or two redoing. UDTs are by far better.

[http://forum.inductiveautomation.com/t/cannot-read-some-tags-inside-rockwell-aoi/38393/13](http://forum.inductiveautomation.com/t/cannot-read-some-tags-inside-rockwell-aoi/38393/13)

> [@Device Load Factor](http://forum.inductiveautomation.com/t/device-load-factor/15781/16):
>
> Hello all, I just wanted to bring this back to life real quick because I have some questions regarding the newer L80 processors. I currently have 8,963 tags and I am using the Gb port on the front of the PLC solely for my Ignition server. My switch says I am hovering right around 2-2.1Mbps on the port for the PLC. My load factor is at 95%. Why is this so? Why am I not able to use at least half the bandwidth available to me? If this sounds like I don’t know what I am talking about, its because I…

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 16, 2021, 2:30am UTC](https://forum.inductiveautomation.com/t/tag-is-bad-quality-in-udt/47808/5 "2021-06-16T02:30:00Z")

</div>

We're using all AOIs at the moment because we didn't know any better when we did our projects. I really want to do a performance test on this, as we've certainly had issues with PLCs being overloaded, even the latest models like the L8x series (maybe L9x is out now?) get choked up (at 1s poll rate we see these at like 160-200% load factor 😕 ). @bschroeder said his LF reduced from 100% down to 10%, but it'd be good to get some solid figures to go off.

> [@Device Load Factor](http://forum.inductiveautomation.com/t/device-load-factor/15781/33):
>
> We fought everything trying to be stubborn and use AOIs. It wasn’t until I did some serious testing and reading across multiple scada systems and in depth study and testing with Ignition that we changed to a udt and aoi system. 95% of our base tags are now in udts. One one specific system that has 150k tags plus we went from 90-103% load factor down to 10%. That was enough for me to know that AOIs are going to give you a bad time. Do AOIs work? Yep. But it is a shakey foundation to build a large…

---

<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:** [June 16, 2021, 11:52am UTC](https://forum.inductiveautomation.com/t/tag-is-bad-quality-in-udt/47808/6 "2021-06-16T11:52:46Z")

</div>

It is worth keeping in mind that the issue with AOIs is that EnableIn and EnableOut are forced to have “None” for external access. That is what breaks optimized reads from OPC drivers. You can set UDT members to no external access and break optimized reads for them, too. ):

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [June 16, 2021, 12:32pm UTC](https://forum.inductiveautomation.com/t/tag-is-bad-quality-in-udt/47808/7 "2021-06-16T12:32:40Z")

</div>

We did a pretty extensive bench testing on performance. Basically we took our AOI’s and dropped them into arrays of typical size for a plant. IE 100 motors, 500 DINs, 50 ains etc… and created corresponding tags in Ignition. Then started playing with different optimizations on the driver. Then modified the AOIs to have a UDT for SCADA tags, and the AOI for the PLC stuff and did the same thing. That gave us enough information and metrics to know which way to go.

Good luck! It’s a tedious and frustrating process. If AB would play ball a bit better with 3rd party vendors then this wouldn’t but such a bid deal.

BTW…we did see something very similar in WonderWare, we just didn’t have a good metric on how to read it.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [June 16, 2021, 12:36pm UTC](https://forum.inductiveautomation.com/t/tag-is-bad-quality-in-udt/47808/8 "2021-06-16T12:36:25Z")

</div>

> [@bschroeder](#):
>
> AB would play ball a bit better with 3rd party vendors

Understatement! More like if AB would play ball period.
