Utgard : Unable to get dynamic tag values

135 views
Skip to first unread message

Manoj Santhakumaran

unread,
Jul 29, 2016, 8:45:23 PM7/29/16
to openSCADA
Hi All,

I was developing a proof-of-concept to connect OPC server using OpenSCADA Utgard driver.

I came across a tag value to be collected, which was showing the following warning and not getting the value.

[main] WARN org.openscada.opc.lib.da.AccessBase - Failed to add item: MBTCP_A1.05_ASTS_A11.40004 (C0040007)

As the documentations on Utgard said, I suspected the OPC server configuration and hence OPC server rejecting the request from my client application.

When I checked with my server team who manages the OPC server, they said this particular tag is a "dynamic" tag. And pointed me the following link.

https://www.kepware.com/support/knowledge-base/default.asp?solution=/_ui/selfservice/pkb/PublicKnowledgeSolution/d?&id=50140000000HarxCsY

Can anyone help me here to identify how we can get value of a dynamic tag using openSCADA Utgard driver?

Appreciate any solution/suggestion/pointers.

Thank you very much.
Manoj

Jens Reimann

unread,
Jul 30, 2016, 1:43:23 AM7/30/16
to openSCADA

Hi Manoj,

For OPC DA there is no difference of that kind. This is only made by your server.

The error reported (C0040007) means "unknown item". And I don't understand how the document relates to that issue. Maybe you can explain that a bit.

I would guess that it is only a typo.

Cheers

Jens


--
You received this message because you are subscribed to the Google Groups "openSCADA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openscada+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Manoj Santhakumaran

unread,
Jul 30, 2016, 4:16:42 PM7/30/16
to openSCADA
Hi Jens,

Thank you very much for your reply.

I have attached here my sample Java program by which I could reproduce the issue, as well as the log it generated, for your perusal.
Please let me know whether this explains the cause of error code C0040007.

Do you think this issue could be because of a configuration setting in the OPC/Kepware server?

Appreciate your response.


Thank you very much.
Manoj


OPCGetDataDemo.java
opc.log

Jens Reimann

unread,
Jul 31, 2016, 8:59:59 AM7/31/16
to openSCADA

The error code is returned by your OPC Server. So the question is, why does it return "item not found"?

I would suggest looking through the logs of your OPC server what the cause of this is.


Manoj Santhakumaran

unread,
Aug 1, 2016, 12:30:29 AM8/1/16
to openSCADA
Hi Jens,

Sure, let me find out the cause of this error from server log. Will update you soon.


Thank you very much.
Manoj

Manoj Santhakumaran

unread,
Aug 1, 2016, 9:48:10 PM8/1/16
to openSCADA
Hi Jens,

I got to know the OPC server is "KepServerEX5" and the tags are configured as Dynamic Tag Addressing mode.

Please let me know if this information would affect the data access using the code I posted earlier.

Jens Reimann

unread,
Aug 2, 2016, 12:47:19 AM8/2/16
to open...@googlegroups.com

No. It should not.


Manoj Santhakumaran

unread,
Aug 4, 2016, 1:35:45 AM8/4/16
to openSCADA
Hi Jens,

Thank you for your reply.

Today I received a response from my server team regarding the request for logs.
But they said there is no log configuration possible with the version of "Kepware" server they use. And have no trace of that particular transaction.
Meanwhile, the same item tag "MBTCP_A1.05_ASTS_A11.40004" is able to fetch value through "Matrikon browser".
Now I'm trying to find out how this "Matrikon browser" get the data for this tag. Need to install that tool first.

Please appraise me if you have any suggestion/comments/pointers on this.


Thank you very much.
Manoj

On Monday, 1 August 2016 21:47:19 UTC-7, Jens Reimann wrote:

No. It should not.



Manoj Santhakumaran

unread,
Aug 5, 2016, 7:28:46 PM8/5/16
to openSCADA
Hi Jens,

Still working on this, and what we found till today is, this could be a OPC DA connectivity issue of "KepServerEX5" v5.2.

In KepServerEX5 Version 5.8, dynamic tags are able to bind and retrieve values using client code.

But in KepServerEX5 version 5.2, we are unable to do so.

Kepware release notes mentions that they fixed some DA connectivity issues in later versions of 5.2.

https://www.kepware.com/support/release-notes/
Reply all
Reply to author
Forward
0 new messages