Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

OPCUA read value issue

More
25 Aug 2021 19:12 #10147 by support

Please Log in or Create an account to join the conversation.

More
25 Aug 2021 18:19 #10145 by brandon.skiles@subaru-sia.com
I am having a problem trying to read a value from an OPC Server (TOP Server). I am sure that my endpoint descriptor that I am using is correct because it returns multiple nodes when I use EasyUAClient.BrowseDataNodes. When I run the follwing code:

EasyUAClient easyUAClient = new EasyUAClient();
var nodes = easyUAClient.BrowseDataNodes("opc.tcp://DevSSS.ccrtest.ccr:49380", "nsu =TOP Server;s=TESTPLC1.TESTPLC1");
foreach (var node in nodes)
{
Console.WriteLine(node);
}

BodyStyle -> nsu=TOP%20Server ;ns=2;s=TESTPLC1.TESTPLC1.BodyStyle (Variable)
CarrierNumber -> nsu=TOP%20Server ;ns=2;s=TESTPLC1.TESTPLC1.CarrierNumber (Variable)
ColorCode -> nsu=TOP%20Server ;ns=2;s=TESTPLC1.TESTPLC1.ColorCode (Variable)
D0004520 -> nsu=TOP%20Server ;ns=2;s=TESTPLC1.TESTPLC1.D0004520 (Variable)

I am then trying to read a value from one of the nodes that was found using and receiving this error:

OpcLabs.EasyOpc.UA.UAStatusCodeException: Status is not good: {BadNodeIdUnknown}. The node id refers to a node that does not exist in the server address space.
+ The node descriptor used was: NodeId="nsu=TOP%20Server ;ns=2;s=TESTPLC1.TESTPLC1.CarrierNumber".
+ The client method called (or event/callback invoked) was 'ReadMultiple'.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.045 seconds