cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Dynamic Tag via KepServerEX and OPCUA Server

TK_10809893
2-Explorer

Dynamic Tag via KepServerEX and OPCUA Server

I have a Chronos data logger in a machine that hosts an OPC-UA server.
KepserverEX6 now accesses this data logger.


The configuration is as follows:


Driver: OPC UA Client
Channel Name: 207050_DataLogger_Test2
Encryption: Basic256Sha256
Message Mode: Sign and Encrypt

 

Device Name: 0554

 

Now I added for Testing Pourpose a Tag:
Name: PT100_3
Adress: ns=1;s=Logger.PT100.3
Data Type: Double

 

This is working fine with the Quick Client.

 

 

But what I realy want is a Dynamic Tag from a Python Programm:
That we do not need to add the Tag in Keyserver, but Easy get Access over the Kepserver OPCUA Client with tunneling.

 

why does the adress do not work?

 

ns=3;s=207050_DataLogger_Test2.0554.ns=1;s=Logger.PT100.3

The Error Mesage that i get is:
opcua.ua.uaerrors._auto.BadNodeIdUnknown: "The node id refers to a node that does not exist in the server address space."(BadNodeIdUnknown)

1 REPLY 1

@TK_10809893,

 

My first thought is that the ns=3 needs to be changed to ns=2. Here is a link to the Kepware article that covers Dynamic Addressing through the OPC UA Client driver.:

 

Article - CS339970 - How to use dynamic addressing for OPC UA Client tags that point to a OPC DA datasource on the Server instance in PTC Kepware Products

 

If the numeric change does not resolve the issue, I recommend opening a support ticket with the Kepware team so a full analysis of your architecture can be had. Here is a link to the login page where a support ticket can be opened:

 

Log In | My Kepware

 

Thanks,

*Chris

Announcements


Top Tags