Netzwerk via DCOM
If you need to allow data exchange between an OPC client and the TwinCAT OPC server over a network via DCOM, this DCOM access type must be configured beforehand.
The following steps describe the necessary settings for the PC on which the TwinCAT OPC server is installed.
Prerequisites
It is assumed that all the PCs which are to participate via DCOM in an OPC client/server connection are already set up for network operation (i.e. they have configured network cards running the TCP/IP protocol).
Step 1
Click on "Start"->"Run…" and enter "DCOMcnfg", then select the dialog "Default Settings".
- Activate "Enable Distributed COM on this computer"
- For "Default Authentication Level" select "None"
- For "Default Impersonation Level" select "Anonymous
Step 2
Select the dialog "Applications" and then the entry „TwinCAT OPC Server DA". Double-click this entry.
Step 3
Select the dialog "Location" and then activate "Run application on this computer".
Step 4
Select the dialog "Security":
- Activate the checkbox "Use custom access permissions" and select "Everyone"
- Activate the checkbox „Use custom configuration permissions" and select "Full Control" for "Everyone"
- Activate the checkbox „Use custom launch permissions" and select "Everyone"