DCS System OPC server communication with C#

Hello,

first time posting questions here. So I am trying to communicate using C# with the OPC server provided by Control Builder F. The server has automation interface 1.0 implemented and the problem i am having is that my program can connect to the server and retrive data alright. however aftet around 6 hours the opc server always crashes with an error of 800700A4. no more threads can be created within the system.

any help would be greatly appreaciated. thanks


Add New Comment


gyy1501   

asked 5 months ago
Closed



Answers

0

Have you googled that error it looks like it's a general Windows message. And if I read it correctly you should check that your program correctly open and closes your functions as it the error points to a memory leak.

WvanWees   

answered 5 months ago


 


Add New Comment


0

Looks like a recource leak. This happens for example if you register new tags for transfers between the OPC-Server and your C# program, and not unregister after you're done. C# (or java) programmers tends to forgot to free external recources after use, because internal recources are freeed automaticly by the runtime environment.

- unregister all subscription who are not needed anymore

- unregister all tags who are not needed anymore

- unregister (or re-use) all groups who are not needed anymore

- close (or re-use) all connection instances to the opc-server after not needed anymore.

Ordoban   

answered 5 months ago


 


Add New Comment



Get weekly AKS updates


Partner Exclusive Webinars

 

> – Login to the partner portal to register



Points Redemption Program - Redeem your points for ABB training, Bluetooth speakers and mugs. Terms and conditions >


Earn points when you refer a friend
AKS Referral Program is "Live" - Learn more



AKS Experts


avatar
Ask Flavio Mussolin   

Rank: 4

ABB AVP, Senior Electronic and Automation Engineer with over 30 years of experience in the field of process automation automotive, pharmaceutical, hollow glass, steel and rolling.


avatar
Ask Dieter Henkel   

Rank: 23


avatar
Ask MMM   

Rank: 5

ABB PA CT Technical Support


avatar
Ask Harsha.D   

Rank: 6

Tech.Support,software and commisioning engineer with Proficient knowledge in 800xA and its products, RNRP,Networking in general.


avatar
Ask Govindaraj   

Rank: 10

Working in ABB India Operation Center. Have Project engineering and commissioning experience in ABB 800xA, Freelance, AC500.


avatar
Ask WvanWees   

Rank: 7

I'm a senior service engineer working for ABB in The Netherlands.


avatar
Ask Stefan Stromqvist   

Rank: 1

I joined ABB in the year of 1994 and has since 1999 been working as a Service & Support Engineer at BU Control Technologies in Västerås, Sweden. My areas of expertise are: 800xA Base, 800xA for Advant Master, Information Management, operating systems, RNRP and Ethernet comms/networking in general.


avatar
Ask Rob Lyon   

Rank: 3

info@lymac.co.nz I'm an independent DCS software and commissioning engineer with extensive experience in 800xA and other ABB products. I've worked in almost every corner of the world and still haven't seen it all.


avatar
Ask Sumit Gargav   

Rank: 2

I have worked with Freelance in majority, with 800xA FD and Melody system partly. Also had opportunity to work with Protocols - HART,Profibus,FF & Modbus.


avatar
Ask nikismith   

Rank: 270

I have been a part of the Recording & Control Factory team for 17 years in total, having spent a number of years as a repairs technician withi the manufacturing department, but being in my current role for 9 years now.


avatar
Ask kstoilov   

Rank: 15

Control System Engineer: 800xA, Compact 800, AC500, AC31-50, Advant Master, Simatic, AC&DC Drives 11 years worked for ABB - Control Systems