Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Dynamic tag addressing
January 23, 2014
9:48, EET
Avatar
Roger
New Member
Members
Forum Posts: 2
Member Since:
January 14, 2014
sp_UserOfflineSmall Offline

I’m new to OPC UA technology so this might be a stupid question but I’m using KEPServerEX5 which has the concept of dynamic tag addressing which they define as follows:
Dynamic Tag addressing is a second method of defining tags that allows users to define tags only in the client application. As such, instead of creating a tag item in the client that addresses another tag item created in the server, users only need to create tag items in the client that directly accesses the device driver’s addresses. On client connect, the server will create a virtual tag for that location and will start scanning for data automatically.

An example of such an address would be “MyChannel.MyPLC.DB40,B0”

Is it possible to use this type of addressing with OPC UA?

As I understand it I have to browse to a node first to be able to read/write from/to it, but since it does no exist until it has been accessed I’m lost Smile

January 23, 2014
10:13, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 960
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

I am not quite sure about the Kepware implementation, but I would imagine that the address would be used to define the NodeId of the tag.

Typically, you do browse first to find the nodes that you wish to read or monitor, but that is not actually necessary. Browsing provides you the NodeId of the tag, but if you can define the NodeId without browsing it will work as well.

The NodeId is defined with a NamespaceIndex and an ID (in various alternative formats). You will need to find out the NamespaceIndex that the nodes are in and maybe use the tag address as the ID in string format.

The NamespaceIndex refers to the position of the respective NamespaceURI in the NamespaceArray of the server. In the Java SDK, you can use the UaClient.getNamespaceTable() object to convert between the known NamespaceURI and the respective NamespaceIndex.

I suggest that you check the Kepware documentation for details on how the tag should be addressed and if this is the correct way to do it.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 124

pramanj: 86

ibrahim: 74

rocket science: 65

kapsl: 57

Sabari: 51

gjevremovic: 49

Xavier: 43

fred: 41

TimK: 41

Member Stats:

Guest Posters: 0

Members: 1749

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1323

Posts: 5649

Newest Members:

WalterFOUNC, datafastproxiespx01, LenkaLok, seoninet, justinevillanuev, namtrott5457, DonaldWibip, AlfredoEthix, andreidla, everangel7021

Moderators: Jouni Aro: 960, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 860, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 222, Lusetti: 0

Administrators: admin: 1