Getiing data via opc from ABB 800F (Freelance 2013)
I need to make the data on ABB 800F available to 4 other 800xA and another pc using OPC. I have tried using ABB OPC Tunnel to bypass DCOM settings and i have followed the required procedures (ID number and ABB OPC Tunnel Configurations) to setup a OPC-Gateway on CBF but was unable to obtain data from another pc. I have also tried using CoDeSyS OPC server to make Freelance broadcast data but was unable to the configuration.
How can i make 800F broadcast data using ABB OPC Tunnel or CoDeSyS OPC?
Voted best answer
As far as I understand You need to access data from AC 800F. For this You need to use Freelance OPC Gateway, which by the way is an OPC server, and configure Your OPC client applications (on Your PC and 4 800xA systems). For this You use neither OPC Tunnel nor CoDeSyS OPC. You simply configure the Gateway in CBF, set proper access rights (in Gateway, Communication configuration window and in Variable list) and then connect a properly defined client.
Your communication will look like this:
Data from AC 800F will be sent to OPC Gateway (server) using Freelance system network (DigiNet S). This is why You can't use CoDeSys OPC - it can't really "talk to" AC 800F.
Then the data will be transfered by the means of OPC (DCOM) between the Gateway to Your client application. This is why You don't use Freelance OPC Tunneler - this is used only to connect Freelance Gateway with Freelance clients, like CBF and DigiVis (for example to use Trend Server) and shouldn't be used with external clients, even if they also use OPC tunnel (in this case use the clients tunnel version instead of Freelance OPC tunneler).
You mention that You configured the OPC tunnel and tried using CBF to aquire the data (which You did for testing, I assume). You need to also configure an "OPC server" resourse, which is OPC client in Freelance (or rather the definition of external OPC server for the system). If You did and still can't connect check:
1. If Your Gateway has proper access rights (see first paragraf)?
2. Can You ping the OPC gateway PC from Your CBF station?
3. Did You configured the "OPC server" resourse correctly (check the IP adress)?
4. If You reset the OPC gateway after changes to it's configuration?
5. Did You synchronized and initialized the OPC variables?
Hope this helps,
I have installed on my computer but was unable to get data from 800F. I dont know what i'm missing when i configure the opc gateway, i have tried both engineering pc's and cpu's ip adress for opc gateway. When i use cpu's ip adress cpu stops and i cant use load:whole station on opc gateway. I get an error saying can load object 190 E_OBJS_NO_OBJECT error and when i use engineering pc's ip i cant broadcast.
I'm a bit confused about what you are trying to implement here.
I understand you want data from an AC 800F in 5 PC's, 4 of them 800xA Operator Stations (or are you talking about 4 800xA systems?) and one other PC.
My confusion comes when you say you want to "broadcast" the data from AC 800F.
Broadcasting usually requires the source to actively send the data to the receivers, but an OPC server does not broadcast data. It is a server and as such only sends data to the clients when asked to do so.
For 800xA (in a single 800xA system with 4 Operatuion clients) to show data from an AC 800F you would need to configure an OPC Gateway in CBF. Dont't forget to configure at least read access for all variables and tags of Freelance that you want to be able to communicate with that OPC Gateway. Use the Gateway view of the Tag and Variable list in CBF to do that.
The IP addreass for the OPC Gateway is the IP address of the PC the OPC Gateway is running on. For 800xA this should be the connectivity server PC, which means you should install the Freelance OPC server on the connectivity PC, where you also need to install the Freelance system Extension for 800xA. No OPC Tunnel needed for that. Have a look at the 800xA for Freelance Product guide and configuration guide to see the details.
To provide the data to a 5th PC with a third party OPC client you should configure one additional OPC Gateway in CBF (don't use the one used by 800xA already). Also here give at least read access to be able to see the data in your 3rd party OPC client. Also no OPC tunnel needed for that. Best is to install that Freelamnce OPC Server on the same PC your 3rtd party client runs on, which means that the IP address in CBF's network configuration for that OPC Garteway is the IP address of the PC the 3rd party OPC client is running on.
Let us know, if everything I assumed so far is correct. Then we take the next steps.
sorry for using broadcasting english is not my first language :) i meant receiving data from 800f.
I cant install freelance opc servers to 800xA because i am not allowed to make changes on those systems which would require additional licenses. So far i have added gateway station to CBF with the configurations you have all explained. I decided not to use abb opc tunnel as you stated i dont have to do it. Now if i understood you correctly i should be making proper dcom settings change on every pc and try to use and opc client like Kepware or TMW. Can you tell me if anything is wrong with the procedure and can you give me additional help on what should i do with dcom settings ? I have tried to change the settings but so far i have failed to receive opc data from eng. station to my pc
If You set up the server properly You need to make some changes in DCOM settings and connect a client. But before try to do a test with a local application (so use a OPC client installed on the PC with OPC gateway). This way You may check if the server is working correctly without fighting with DCOMs, as local OPC communication (so in boundaries of single system/PC) use COM and doesn't really need any additional settings. So this way You can check if the server is working and if You can't connect later, You will know it's DCOMs fault.
As for OPC client - for testing use anything You have at hand. Many applications have OPC functions (for example You can use Excel as OPC client) and there are many OPC clients, even freeware, that will suit You for testing.
As for DCOM settings - this is really something else. First of all - do Your 800xA system has it's own Domain? If Freelance and 800xA are seperated this way it may be even impossible to connect it with DCOM only (that's why Tunneling software is so popular). Try following attached manual from Matricon - it helped me more then once, maybe You'll also find it helpfull.
I recommend to first try to get data with your 3rd party OPC client. For that I also strongly recommend to start having the OPC gateway run on the same PC like your OPC client. That way you can make sure to exclude wrong DCOM settings as the source of the problem.
Choose whatever OPC client you are familiar with.
Kepware OPC client is ok. You can also use the Softing OPC client, which you can download from http://industrial.softing.com/de/downloads.html. For the latter choose
Technoloy: OPC, Product Category: OPC Development and fopr Product: Classic OPC Demo Client and Server.
After having installed the OPC client software together with the Freelance OPC server on the same PC, start the CBF and open the Network Configuration dialog. Enter the IP of that PC that runs the OPC Gateway (that represents the Freelannce OPC Server) for the OPC Gateway. If you have CBF running on the same PC don't use Localhost for the OPC Gateway IP (127.0.0.1) but use the real IP address.
Now select the topmost node in the P-Tree and choose "Check All" in the menu.
Download AC 800F first and then the OPC Gateway.
Now use your OPC client and connect to the Freelance OPC Server. You should be able to browse the Freelance OPC server and get online values.