Need Guidance on PublishRequest TimeoutHint|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
Need Guidance on PublishRequest TimeoutHint
Avatar
Ross Turton
New Member
Members
Forum Posts: 1
Member Since:
04/07/2014
sp_UserOfflineSmall Offline
1
06/19/2026 - 08:44
sp_Permalink sp_Print

The UA Spec indicates that the TimeoutHint from the UA Client is a suggestion to the UA Server.  The UA Server should use the timeouthint provided by the client as the minimum timeout.  

Given that PublishRequests are using for multiple subscriptions, say you have the following 3 subscriptions:

10,000 ms  Publishing Interval

15,000 ms Publishing Interval

86, 400, 000 ms (24 Hour) Publishing Interval

 

What would be the recommended Timeout Hint to use for Publishing Intervals given that if I use something greater than 24 Hours it will take 24+ hours for the requests to timeout for the faster publishing intervals?

This would cause excessive delays to users in knowing that the requests for faster publishing intervals have timed out.

Avatar
Randy Armstrong
Admin
Forum Posts: 1683
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
06/21/2026 - 07:06
sp_Permalink sp_Print

First PublishingInterval should not be that long.
If you don't need frequent samples then set the SamplingInterval on MonitoredItems.

Second, use the KeepAliveInterval to keep your Publish requests fresh.

i.e. use 10 mins TimeoutHint but a 5 min PublishingInterval and KeepAliveCount = 1.

This ensures a PublishRequest is consumed long before it times out.

You would only get actually data in a response when the SamplingInterval expires (10,000 ms, 15,000 ms or 86, 400, 000 ms)

Forum Timezone: America/Phoenix
Most Users Ever Online: 1361
Currently Online:
Guest(s) 35
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1526
Posts: 5163