Connection of sofcontroller to OPC running on different PCs
Compact control builder running on a VM(VM1) in PC1 and OPC server for AC800m running on a VM(VM2) in PC2.
In VM1 I am running two instances of softcontroller xx.xx.xx.xx:2 and xx.xx.xx.xx:30. I am able to download the applications on both soft controllers and I am also able to connect these controllers on the OPC Server for AC800m on VM1. However I am unable to connect these controllers to the OPC Server for AC800m on VM2.
I am able to ping VM1 from VM2 and vice versa. The VMs have been created on different physical machines intentionally.
Does the fact that I am using soft controllers have any bearing on the problem I am facing? If not,what network configuration should be adapted to enable the OPC server for ac800m on VM2 in Host PC2 to connect to the soft controllers on VM1 in host PC1?
Voted best answer
1. Check your firewall to allow MMS traffic (TCP/UDP port 102).
2. Also run an OPC server on VM1. this will show if the SoftControllers are running ok, and this will also put all the files you need in the C:\OperateITData\Control IT\OPC Server\Files folder. Copy the contents automatically or manual to the other OPC server on VM2.
3. Sometimes it helpes to restart the OPC Service.
4. Make sure that the controller settings in Control Builder allow more than 1 OPC DA/AE connections.
It should definitly work, we use this setup also.
From the OPC server manual (for instance 3BSE035983-510_-_en_AC_800M_5.1_OPC_Server):
"The OPC server needs access to certain files in order to connect to a controller. These files are stored by the Control Builder that performed the last download."
In your case, that means that you have to distribute these files manually after each download.
Check the manual for details depending on your version of system and setup.
Of course your machines has to reside on the same network.
Compiler Output File Helper
The Compiler Output File Helper tool is able to restore compiler output files from a folder
on a disc to an 800xA Aspect Server. All files belonging to a control builder project, or
all files belonging to one or many controllers of a project, can be restored in one single
operation. This function is valuable in some upgrade use cases as well as when the
simulate hardware function is used.