OPC group write limitation of 512 OPC items per request|Classic OPC: DA, A&E, HDA, XML-DA, etc.|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
OPC group write limitation of 512 OPC items per request
Avatar
Ulrik Farlov-Qvist
Copenhagen, Denmark
Member
Members
Forum Posts: 3
Member Since:
07/04/2023
sp_UserOfflineSmall Offline
1
07/12/2023 - 04:17
sp_Permalink sp_Print

Hi,

Using Advosol OPC DA SDK for .NET 6/7 and OPC Core Components 3.00.108 (latest?)

Our target OPC server is a SattLine ADSOPC in-proc OPC server.

We are facing a limitation when writing an OPC group with more than 511 items in it.

We get a weird error "-2147023843 The service did not respond to the start or control request in a timely fashion" returned through the Advosol OPC SDK.

We have tried swapping dll's (using our customers ADSOPC.dll), upgrading/downgrading number of CPUs, different O/S, different OPC server (ABB, Kepware sim.). All work in our environment but not in the customer's environment.

Do anyone know of this limitation (probably 512 tags per write request) or where this can be set or investigated?

 

BR

Ulrik

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
07/12/2023 - 14:35
sp_Permalink sp_Print sp_EditHistory

Most commercial servers will have a limit. 500 seems low but the fact that it exists is not surprising.

You may be able to increase this limit in the server configuration file

Or simply create additional groups (i.e. 3 groups of 150+ items).

Avatar
Ulrik Farlov-Qvist
Copenhagen, Denmark
Member
Members
Forum Posts: 3
Member Since:
07/04/2023
sp_UserOfflineSmall Offline
3
07/12/2023 - 23:48
sp_Permalink sp_Print

Our project is about upgrading an old application (VB6 with OPCDAAuto.dll from around year 2001).

- The old application works fine both in our dev and in the customers test environment

- The old application uses async reads and writes (callbacks) (the new one does so too)

If there is a group write limit imposed in the customers SattLine OPC server configuration, the old application should also "block" on groups larger than 512 tags I would think.

So "something" is communicating differently with the SattLine OPC server in the new application or the SattLine OPC server is acting differently when a modern OPC DA SDK kit is communicating with it or something completely different - in the customers environment.

For now, I dont see a reason for rewriting the group-write mechanism, as it works perfectly in our development environment against ABB SattLine and Kepware with download groups of 2000 tags which is the maximum limit production recipes will be.

 

Best

Ulrik

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
07/13/2023 - 15:42
sp_Permalink sp_Print

You need to take that up with Advosol then.

Avatar
Ulrik Farlov-Qvist
Copenhagen, Denmark
Member
Members
Forum Posts: 3
Member Since:
07/04/2023
sp_UserOfflineSmall Offline
5
08/10/2023 - 06:07
sp_Permalink sp_Print sp_EditHistory

Well, it doesn't seem to relate to the 512 tags limit. We have groups with less than 100 tags that fail as well.

Maybe something with data size of the "packets" being sent from either the OPC DA SDK through the OPC Core components and on to the ABB ADSOPC server?

We have already implemented a retry mechanism which retries the failed tags. It seems that the download completes after several retries. Maybe something about performance issues/bottleneck in the ABB OPC server because our new gateway performs way better and is multi-threaded as opposed to the old gateway (VB6) which was single-threaded.

One note to this is: All our recipe download groups are not subscribed and all tags in them are inactive. We have some groups (not recipe download groups) that have 1 active tag and where the group is subscribed. These are used to trigger upload and state changes (journalisation) from the SattLine system.

 

BR

Ulrik

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