References and Object with variables' values from different address spaces|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
References and Object with variables' values from different address spaces
Avatar
Rudolf
Slovakia
Member
Members
Forum Posts: 19
Member Since:
07/13/2018
sp_UserOfflineSmall Offline
1
09/26/2018 - 01:16
sp_Permalink sp_Print sp_EditHistory

Dear all,

I have a use case where I like to have an object which combines data lets say MES and also data from field.

For this purpose I am thinking about one server (address space) which will host MES data and views for client and another server - wrapper, which will provide data from PLC.

What I am still missing or I have not got yet is, how to create a variable with "input" reference to variable in another address space.

Or do I need implement it through subscription/read write, or views?

If you can direct or navigate me to point or example in UA-.NETStandard examples where can I learn that, I would be grateful.

Thank you

Rudo

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
09/27/2018 - 12:42
sp_Permalink sp_Print

It is not sure what you are expecting from this input.

The ExpandedNodeId allows you to reference nodes in other servers but that does not define any behavior.

To have input behavoir you would either need a client that reads from one server and writes to yours.

Or your server could be a client of the source server.

Avatar
Rudolf
Slovakia
Member
Members
Forum Posts: 19
Member Since:
07/13/2018
sp_UserOfflineSmall Offline
3
09/28/2018 - 00:40
sp_Permalink sp_Print

Hello Randy,

Thank you for answering.

My idea or expectation is to have nodes structure like Area->WorkCenter->Silo01. This will be on ServerA.

Silo01.MESQuantity - should be a float variable into which I will write a value most likely from DB in certain event.

Silo01.PCSQuantity - should be a float variable which value is ultimately going from PLC. For the reading of tags from PLC I am thinking about to use some kind of OPC UA Wrapper - ServerB.

So if I will go for "Or your server could be a client of the source server." my ServerA needs to be a client for ServerB. I need to implement a read data change handler of monitored items in ServerB and somehow link them with variables at ServerA.

Does it seems reasonable to you? And is anywhere in any Annex a best practice of this kind of mechanism?

Thank you

BR Rudo

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
09/28/2018 - 07:49
sp_Permalink sp_Print

ServerA is a OPC UA Client and would support browse, read, subscribe.

Avatar
Rudolf
Slovakia
Member
Members
Forum Posts: 19
Member Since:
07/13/2018
sp_UserOfflineSmall Offline
5
09/30/2018 - 12:54
sp_Permalink sp_Print

Thanks Randy, I will try to follow your suggestion.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: prabhakaran prabs, Katarzyna Majgier
Guest(s) 29
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1354
Posts: 4590