# OPC UA Server Issue

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061>\
**Category:** General Discussion\
**Tags:** vision\
**Created:** [November 3, 2022, 1:26pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061 "2022-11-03T13:26:39Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![d.vasilev](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@d.vasilev](https://forum.inductiveautomation.com/u/d.vasilev)\
**Post date:** [November 3, 2022, 1:26pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/1 "2022-11-03T13:26:39Z")

</div>

Ignition 8.1.13 Vision, Windows Server 2016  
Setup: PLC Omron CJ1M - serial bridge Weintek CMT-G03 (activated OPC UA) - HMI Omron NS5  
Issue: Unsigned 32 bits tags readings are not stable, the reading is altered from the proper value, lets say 1607, to 1 362 100 224, then 0, then again in the same order. Boolean tags are stable.  
UA Expert reads stable and correct values both words and Boolean tags.  
I was tweaking with the advanced parameters in OPC UA configuration page, but no luck.  
Firewall checked. Station Numbers checked.  
Any hints?

---

<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 3, 2022, 1:28pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/2 "2022-11-03T13:28:56Z")

</div>

Can you connect to this server without security and get a Wireshark capture?

edit: if you can, then disable the connection, start the capture, enable the connection, and stop the capture after subscriptions values have populated and the tags with inconsistent values have had their value change a few times.

---

<div class="post-metadata">

**Author:** ![d.vasilev](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@d.vasilev](https://forum.inductiveautomation.com/u/d.vasilev)\
**Post date:** [November 3, 2022, 2:06pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/3 "2022-11-03T14:06:08Z")

</div>

Hi, Kevin,

hope it is what you meant:

---

<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 3, 2022, 2:07pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/4 "2022-11-03T14:07:52Z")

</div>

Upload the capture and I'll tell you if it's what I meant.

---

<div class="post-metadata">

**Author:** ![d.vasilev](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@d.vasilev](https://forum.inductiveautomation.com/u/d.vasilev)\
**Post date:** [November 3, 2022, 2:20pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/5 "2022-11-03T14:20:26Z")

</div>

Attachment

---

<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 3, 2022, 3:05pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/6 "2022-11-03T15:05:43Z")

</div>

You didn't start the capture with the connection disabled and then enable it and wait, so I can't correlate the change notifications in each PublishResponse to any particular tag.

---

<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 3, 2022, 3:06pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/7 "2022-11-03T15:06:50Z")

</div>

Another easier approach might be to set the log level for the logger you find search "DataValueConsumer" to TRACE and then look for incoming changes in the logs.

[https://docs.inductiveautomation.com/display/DOC81/Diagnostics+-+Logs#DiagnosticsLogs-ChangingLoggingLevels](https://docs.inductiveautomation.com/display/DOC81/Diagnostics+-+Logs#DiagnosticsLogs-ChangingLoggingLevels)

---

<div class="post-metadata">

**Author:** ![d.vasilev](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@d.vasilev](https://forum.inductiveautomation.com/u/d.vasilev)\
**Post date:** [November 3, 2022, 4:08pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/8 "2022-11-03T16:08:34Z")

</div>

It should be OK now.

Regarding the logs, nothing pops up.

---

<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 3, 2022, 4:12pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/9 "2022-11-03T16:12:05Z")

</div>

What's the OPC Item Path of one of the tags that keeps changing value?

---

<div class="post-metadata">

**Author:** ![d.vasilev](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@d.vasilev](https://forum.inductiveautomation.com/u/d.vasilev)\
**Post date:** [November 3, 2022, 4:17pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/10 "2022-11-03T16:17:41Z")

</div>

nsu=weintek\_statistics;s=Out.Tags.Good

---

<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 3, 2022, 4:21pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/11 "2022-11-03T16:21:10Z")

</div>

Okay, this shows the server is sending values that bounce back and forth between 0 and 1607 for that tag.

Are you sure you actually created a monitored item in UaExpert and weren't just looking at the static attribute view? Otherwise maybe the timing of the subscription publishing interval and item sampling interval have something to do with it. Not sure.

---

<div class="post-metadata">

**Author:** ![d.vasilev](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@d.vasilev](https://forum.inductiveautomation.com/u/d.vasilev)\
**Post date:** [November 3, 2022, 4:23pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/12 "2022-11-03T16:23:43Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/0/e082af77d66eb147a7dab17cd195b852b81fb2d0.png)

---

<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 3, 2022, 4:26pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/13 "2022-11-03T16:26:29Z")

</div>

I don't know. I'd just be guessing at this point. You need to get support from the server vendor involved. Show them the capture you just took, it's objective proof the server is sending values that flip back and forth. The ClientHandle is 48 for the item in question. You can see in the notification data of the PublishResponses that it keeps changing.

---

<div class="post-metadata">

**Author:** ![d.vasilev](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@d.vasilev](https://forum.inductiveautomation.com/u/d.vasilev)\
**Post date:** [November 3, 2022, 4:27pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/14 "2022-11-03T16:27:32Z")

</div>

Thank you, Kevin.  
The battle will keep on going.

---

<div class="post-metadata">

**Author:** ![Massimo\_De\_Marinis](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@Massimo\_De\_Marinis](https://forum.inductiveautomation.com/u/Massimo_De_Marinis)\
**Post date:** [April 26, 2024, 2:15pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/15 "2024-04-26T14:15:16Z")

</div>

Did You find a solution finally? I'm having a similar problem.

---

<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:** [April 26, 2024, 2:22pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/16 "2024-04-26T14:22:35Z")

</div>

Is your problem specifically with this same OPC UA server (Weintek CMT-G03) or just a similar sounding issue with some other product?

---

<div class="post-metadata">

**Author:** ![Massimo\_De\_Marinis](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@Massimo\_De\_Marinis](https://forum.inductiveautomation.com/u/Massimo_De_Marinis)\
**Post date:** [April 26, 2024, 2:44pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/17 "2024-04-26T14:44:05Z")

</div>

In my case the Weintek CMT SVR 102 is the client, and the server is on a computer of a production line in our company. The client randomly gets some data at zero.  
The endpoint url is opc.tcp://10.0.58.2:51000/LROPCRouter/Server  
Authentication: Anonymous

UaExpert is reading fine, even when all the CMT data seems to be empty, or zero.

---

<div class="post-metadata">

**Author:** ![d.vasilev](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@d.vasilev](https://forum.inductiveautomation.com/u/d.vasilev)\
**Post date:** [April 27, 2024, 5:33am UTC](https://forum.inductiveautomation.com/t/opc-ua-server-issue/66061/18 "2024-04-27T05:33:21Z")

</div>

@Massimo_De_Marinis , the workaround I used that time: For the tags I had this issue, I read them using Kepserver EX MQTT Client. Not sure if you can apply same approach.
