# Ignition not showing correct opc quality code

**URL:** <https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651>\
**Category:** Ignition\
**Created:** [November 23, 2011, 2:34pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651 "2011-11-23T14:34:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [November 23, 2011, 2:34pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/1 "2011-11-23T14:34:08Z")

</div>

For some reason Ignition seems to be changing the quality code that it receives from kepware. If I connect using kepware client, the kepware client shows my device tags with a bad quality code as code 20. that same tag in ignition shows a code of 600 which is unknown and causes the ignition clients to not see the last known value. I have also tried matrikon explorer, and although it doesnt give you the quality code number, it shows the quality as being bad last known value, which is what it should be.

Any ideas on why this is happening?  
I am using 7.2.5

---

<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:** [November 23, 2011, 6:15pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/2 "2011-11-23T18:15:45Z")

</div>

You’re using the OPC-COM module to connect to Kepware, correct?

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [November 23, 2011, 6:42pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/3 "2011-11-23T18:42:06Z")

</div>

no opc-ua.

I have a opc-da polling server, and I use the kepware opc-ua wrapper to connect ignition opc-ua.

---

<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:** [November 23, 2011, 6:55pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/4 "2011-11-23T18:55:45Z")

</div>

You’ll need to view the quality through another UA client then. DA quality codes and UA status codes aren’t the same; whatever quality code 20 is when using a DA client is going to be something different in UA.

What’s probably happening is that we don’t have a translation defined from whatever the UA status code is to the set of known data qualities you see in Ignition. When this happens you get DataQuality.UNKNOWN.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [November 23, 2011, 8:23pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/5 "2011-11-23T20:23:49Z")

</div>

can you recommend a ua client to use?

---

<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:** [November 23, 2011, 8:33pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/6 "2011-11-23T20:33:38Z")

</div>

If you can’t get Kepware’s quick client to use OPC-UA (I have no idea how or if it’s possible), then there’s always [UaExpert](http://www.unified-automation.com/uaexpert.htm), which is free.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [November 23, 2011, 8:44pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/7 "2011-11-23T20:44:29Z")

</div>

It looks like 20=“Bad, showing last value”, which probably doesn’t have a mapping. I’ve never seen this quality used… but doesn’t mean it shouldn’t be mapped. With SQLTags, some qualities allow the value to be used, and some don’t, we’ll have to map this so that we can specify it to allow the value to pass through.

Regards,

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [November 23, 2011, 10:25pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/8 "2011-11-23T22:25:59Z")

</div>

fwiw it works fine for opc-da thru the opc-com module.

Is this something you can fix for a pre 7.3 release?

---

<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:** [November 23, 2011, 10:47pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/9 "2011-11-23T22:47:57Z")

</div>

[quote=“diat150”]fwiw it works fine for opc-da thru the opc-com module.

Is this something you can fix for a pre 7.3 release?[/quote]

Yeah, because we have a mapping defined for quality code 20 to DataQuality… but we don’t have a mapping defined for whatever UA StatusCode the wrapper is turning quality code 20 into.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [November 23, 2011, 11:53pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/10 "2011-11-23T23:53:46Z")

</div>

I installed uaexpert and was able to connect and get the status code. I believe this is what you need right? once I put the tag back in good quality the statuscode just says good.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/1X/ba8a2658aea2cf55a8be005ba12e57bba7cb38fd.jpg)

---

<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:** [November 24, 2011, 12:11am UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/11 "2011-11-24T00:11:22Z")

</div>

Right, so it’s returning the UA StatusCode “Uncertain\_NoCommunicationLastValue”.

I’ll add a mapping for this and it should make its way into a 7.2.10 maintenance release.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [November 24, 2011, 12:26am UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/12 "2011-11-24T00:26:18Z")

</div>

awesome, this is going to really get me out of a bind. any idea when the 7.2.10 is going to be released?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [December 9, 2011, 5:52pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/13 "2011-12-09T17:52:25Z")

</div>

7.2.10 has been released.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [December 12, 2011, 7:21pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/14 "2011-12-12T19:21:17Z")

</div>

Doesnt look like this got fixed. Just upgraded to 7.2.10.208 and still having the same issue.

---

<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:** [December 14, 2011, 3:18am UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/15 "2011-12-14T03:18:11Z")

</div>

Ah right, that’s my fault. I totally forgot about this.

I went to add it, but then decided I should gather some other opinions on what DataQuality this should actually map to. Then I forgot to follow through ☹

Sorry about that.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [December 14, 2011, 10:57am UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/16 "2011-12-14T10:57:43Z")

</div>

you are killing me Kevin. lol 🙂

are you gonna do another 7.2 release and if so any timeline on when it would be published?

thanks.

---

<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:** [December 14, 2011, 4:20pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/17 "2011-12-14T16:20:57Z")

</div>

Yeah, I’ll talk with Colby about it today and we’ll do a 7.2.11 some time. I’ll also push out a beta that contains just that fix once I make it.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [December 14, 2011, 4:31pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/18 "2011-12-14T16:31:21Z")

</div>

thanks.

---

<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:** [December 15, 2011, 5:32pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/19 "2011-12-15T17:32:23Z")

</div>

[Windows 32-bit](http://files.inductiveautomation.com.s3.amazonaws.com/release/build7.2.11-beta1/12152011_0848/Ignition-7.2.11-beta1-windows-installer.exe)  
[Windows 64-bit](http://files.inductiveautomation.com.s3.amazonaws.com/release/build7.2.11-beta1/12152011_0848/Ignition-7.2.11-beta1-windows-installer-x64.exe)

Let me know if you need something different.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [December 15, 2011, 6:32pm UTC](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651/20 "2011-12-15T18:32:30Z")

</div>

Looks like it works. the overlay still shows unknown but the values are holding.

[Next page](https://forum.inductiveautomation.com/t/ignition-not-showing-correct-opc-quality-code/3651.md?page=2)
