Monitoring nodes limit in OPC UA Client|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
Monitoring nodes limit in OPC UA Client
Avatar
prabhakaran prabs
Member
Members
Forum Posts: 42
Member Since:
01/07/2022
sp_UserOfflineSmall Offline
1
06/11/2024 - 21:39
sp_Permalink sp_Print

Hi,

I have developed OPC UA Client application using CSharp(C#) language.

I am facing one issue. we are not able to receive the data from OPC UA Server if monitored items count is greater than 500.

we can be able to get the data if monitored items count <=500

what could be the issue? How to solve it? 

Avatar
Randy Armstrong
Admin
Forum Posts: 1511
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
06/12/2024 - 09:53
sp_Permalink sp_Print

Check the server limits.

Chances are you hit a max of 500 per subscription and you are not checking the error code on createmonitoreditems.

Create additional subscriptions.

Avatar
prabhakaran prabs
Member
Members
Forum Posts: 42
Member Since:
01/07/2022
sp_UserOfflineSmall Offline
3
06/17/2024 - 22:25
sp_Permalink sp_Print sp_EditHistory

How to check server limits? which parameter shall be configured in OPC UA Server for limits? and how to create additional subscriptions

I have used following code in OPC UA Client.

for (int j = 0; j < nodes.Count; j++)

{

var item = nodes[j].GetMonitoredItem(Opc.Ua.Attributes.Value, true);
item.Notification += new MonitoredItemNotificationEventHandler(OnOperatingNodeMonitoredItemNotification);
var monitoredItemsCount = subscription.BaseObject.MonitoredItemCount;
if (monitoredItemsCount >= 900)
{
subscription = _client.GetSubscription(true);
subscription.Create();
}
subscription.AddMonitoredItem(item);
subscription.Apply();

}

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