Installing and Starting the OPC UA Client Adapter

Scenario: You want to connect Desigo CC to the OPC UA Client adapter.

 

Reference: For background information, see the reference section.

 

Workflow diagram:

 

 

Prerequisites:

  • After installation, the OPC_UA_Client.msi installer package is available in [Installation Drive]:\[Installation Folder]\GMSMainProject\AddSW\OPC_UA_Client.

 

In case you want to upgrade the adapter software, you must first uninstall the previous version, and then install the new one.
When uninstalling the adapter (SORIS OPC UA Adapter), the relevant folders and batch file (Install_AdapterAsService_HTTP.bat) are deleted.
Consequently, in case you want to reuse the existing configuration, before uninstalling the previous version of the adapter, it is suggested to save folders, and the batch file. You can then use the saved folders and batch file to overwrite the corresponding folders and batch file created when you install a new version of the adapter.

 

Steps:

1 – Install the Adapter Software

You must install the adapter software service on the Desigo CC server station.

 

  • Run OPC_UA_Client.msi.
  • The OPC UA Adapter wizard displays the installation status, and closes automatically when the installation is completed.
  • The OPC UA Client DER file (application instance certificate) is available in the following folder: C:\Program Files (x86)\Siemens\SORIS OPC UA Adapter.

 

2 – Start the Adapter as a Windows Service

You can only start the service using the HTTP protocol.

 

  1. In C:\Program Files (x86)\Siemens\OPC UA Adapter, open the file Install_AdapterAsService_HTTP.bat with a text editor.
  1. Enter the following parameters:
  • Next to port, replace #PORT# with the appropriate port number.
    NOTE: It is suggested to use a free port number different from the default one (8080).
  • Next to wsiurl, replace #WSIURL# with the web application URL, as follows:
    a. In SMC, select Websites > Website > Web Services Application.
    b. Copy the web application URL from the Web Application Details expander to wsiurl.
  1. Save the changes.
  1. Run the Install_AdapterAsService_HTTP.bat file as administrator.
  • The service is installed and started automatically among the Windows services.