How to get data from OPC server?
How can I retrive data(some TAG) from the OPC server and pass it to some external applications?
Does OPC server provider some interfaces ?
Voted best answer
I need more information about which products you are using. AC800M OPC server, Freelance OPC server, etc.? Then I can provide you with links to the appropriate manuals and "How to" documents. In General, this is what you need to do....
The OPC client application (e.g. your external application) will be your interface with the data. From the client you must configure it to collect data from the specific OPC server(s). The items you want the OPC server to provide needs to be configured from Control Builder.
I use the Freelance OPC Server. The server is installed on PC with windows XP. And in the Control Builder I can see the Tag list (list of sensors) and the value is changed in realtime.
So how can I configure a OPC client (or configure Control Builder) to retrive data from Freelance OPC Server.
Hello, If you are using Freelance OPC you can see your data from OPC into OPC Item list in CBF> Project tree > Menu Item System > at the end of context menu OPC Item list.
you will get this window
Here you can create TAG type or you can assign variable to see values in CBF or in DigiVis.
Hope It will help to you.........
I think this topic needs a little bit of clarification. Freelance can be an OPC client (e.g. receive data from another vendors PLC and display it in DigiVis), or an OPC server (e.g. feed data from the Freelance controllers to another vendors application).
The explanations from Sumit Gargav and Thwe Lin Han, show some great details on making Freelance an OPC client. If this is what you want, look no further.
But as I understand your question, you want to pass data from Freelance to another application (i.e. OPC server). Unless it is an ABB application, I can’t tell you how to configure the OPC client side. What I can tell you is that you must somehow reference the Freelance OPC server name.
For DA: Freelance2000OPCServer.XX
For AE: Freelance2000OPCAEServer.XX
Where “XX” is the Resource ID of the Freelance OPC Server.
For further details of setting up the OPC Server, please see the enclosed document.
First you have to make correct DCom settings and then follow the steps which are mentioned in the pdf attached.
Correct Dcom settings you can ge from internet,Incase you don't let me know i will send you a document for the same.
We did it with matricon OPC server through the SurrogateOPC feature inside the OPC
I followed the steps mentioned above and we communicated successfully
It mainly involves two steps