Get latest value in client from Server|OPC UA Companion Standards|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
Get latest value in client from Server
Avatar
Rajesh Kombathula
Member
Members
Forum Posts: 3
Member Since:
01/12/2021
sp_UserOfflineSmall Offline
1
03/16/2021 - 06:37
sp_Permalink sp_Print sp_EditHistory

How can the OPCUA Client get latest value from OPCUA server(As when data is updated in OPCUA server, is there any trigger in OPCUA server to update value back to client?). Similar to a callback or a webhook which triggers when there is a change in data. In this case the client do not need to initiate to get the latest value.  

Please Help.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
03/16/2021 - 07:44
sp_Permalink sp_Print

A webhook requires that the server have permission to access the client. This architecture is problematic for factory applications.

The UA subscription model relies on a transport that can process messages in a order different than the were received.

The UA Client sends 2 or more PublishRequests to the server that the Server holds onto until there is data ready to send.

When data is ready, it picks a waiting PublishRequest and returns a response.

When the client receives the response it sends a new publish request to ensure that the server always has one waiting when there is data to send.

Since the client is initiating all communication there is no need to grant permissions to the server.

It also works through restrictive firewalls.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 56
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855