800xA Read via VB6 a multitude of objects -> TAGS.Value
I need to read and update every 5 seconds the TAG.Value from 300 800xA Tags using a code in visual basic 6 and using the OPC: AfwOpcDaSurrogate
Any suggestion for some example code designed to the minimize the OPC reading execution time ?
Best regards.
Angelo.
Voted best answer
If you want to connect to the OPC DA Surrogate server, then this isnt really an ABB Specific question. You connect to the ABB OPC Server in the same way you would connect to ANY other manufacturers OPC server.
In this case google is your friend. A quick search found this ...
http://www.softwaretoolbox.com/isaexp...
There are a bunch of other vendors out there who can provide OPC Autmation wrappers. And really, VB6 is getting pretty old and is no longer supported at all by Microsoft. You will find a lot more help on the net if you are using a more modern language.
A properly constructed OPC Group with 300 items should update pretty quickly. I would not expect any performance problems with an AC800M at 5 second intervals. For any OPC interface the bottleneck is usually between the OPC server and the PLC or DCS controller. (Eg AC400 series uses 1,3 and 9 second update rates)
Answers
Is it nessesary to do it in vb6. Ik have examples to do it in .net.
If you want to connect to the OPC DA Surrogate server, then this isnt really an ABB Specific question. You connect to the ABB OPC Server in the same way you would connect to ANY other manufacturers OPC server.
In this case google is your friend. A quick search found this ...
http://www.softwaretoolbox.com/isaexp...
There are a bunch of other vendors out there who can provide OPC Autmation wrappers. And really, VB6 is getting pretty old and is no longer supported at all by Microsoft. You will find a lot more help on the net if you are using a more modern language.
A properly constructed OPC Group with 300 items should update pretty quickly. I would not expect any performance problems with an AC800M at 5 second intervals. For any OPC interface the bottleneck is usually between the OPC server and the PLC or DCS controller. (Eg AC400 series uses 1,3 and 9 second update rates, Bailey controllers have a whole host of ~features~ with deadbands, subscription rates etc). This is not something you can "fix" with your OPC Client code - it is a limitation of the OPC server and the controller. You need to set the subscription rates appropriately.
Add new comment