Connect 2 Freelance from OPC
Hi Everyone,
I need to connect 2 Freelance on other PC using OPC Server. Now I using OPC server on the same PC. I project tree I have OPC Server like Freelance2000OPCServer.45 and Gateway.
Every IP on network are 127.0.0.1
Now I need to connect 2 PC using Freelance 9.1
In 1 PC 1 have OPC server on tree project and one process station (127.0.0.1 - emulator) with variable.
In 2 PC 1 have Gateway (in network I using ip adrees 1 PC) and process station (127.0.0.1 - emulator).
How to connect 2 freelance using OPC server?
Answers
HI,
can you please put a pic of the HW Structure??
Hi,
I understood, u want data from both PC in single CBF vis OPC server.
1.In 1st PC, go to Configure window Assign OPC server Resource ID and enable the Gateway on the same PC
2.Repeat step 1 on 2nd pC with different OPC server ID
3.In 1st PC CBF, configure two OPC server node and one Gateway node and provide corresponding IP address
For eg: OPC server1 ID 45 which is running on 1st PC, provide 1st PC ip address and assign same ip for Gateway as well
OPC server2 which is running on 2nd PC, provide 2nd PC ip address in OPC server node
4. In 2nd PC CBF configure one Gateway node and provide Resource ID 46 and 2nd PC IP address
5. Now download the project1 to Gwateway 1(id 45) from 1st PC CBF
6. Then download the project2 to Gwateway 2(id 46) from 2nd PC CBF
7. In 1st PC, go to OPC item list and sync the data from both OPC server
Now you will get both Freelance project data in 1st through OPC Server
Note: If you want get only 2nd CBF data through OPC then you can only `one OPC server.
Pls provide more info if i understood wrong.
Hi,
As Refa asking picture of system architecture will help,
however, If you want to connect between two controller of different project OR emulator on two different PC, then use Ethernet S/R functionality. and run emulator on local physical IP address of PC rather than local host(127.0.0.1).
Which freelance version you are using with ? and any specific reason you want to connect two freelance controller via OPC ? or it's test system running on emulator ?
Hi,
To Browse the variables via OPC Server in 9.1 version follow the below steps,
1.
2.Go to variable list
3.You will get Select resource window which contains OPC server list and select the same, press ok
4.
I add to tree OPC server and change IP adres. Now 1 have 2 PC ( 1- 192.168.10.141 and 2- 192.168.10.142)
I try to connect both but OPC Server in PC2 have status no connect.
This is my configuration
Gateway(GET2) connect to OPC server on PC2 but OPC2 no connect. Where is the problem? I'm using 2 different OPC IDRes.

My problem is that I haven't connection OPC. But Gateway have connected and run OPC Server. Where I have mistake?
1.In CBF1(PC1), configure OPC Server1 node and Give "Freelance2000OPCServer.45" in configure window (45 is gateway id which is running in PC1) and configure OPC server2 node and Give "Freelance2000OPCServer.46"(46 is gateway id which is running in PC2)
2.In OPC server1 configure window, select "Run server on this computer" and OPC srever2 configure window, select "Run server on the following computer" and give PC2 ip address.
3.In CBF1(PC1), configure Gateway 1(id 45 which is running in PC1)
4.In CBF2(PC2), configure Gateway 2(id 46 which is running in PC2)
by Sumit Gargav
did you get the solution ? is it resolved ?
Add new comment