Inductive Automation
News Room

News / June 10, 2010

How to Connect to KEPServerEX 5.2 via OPC-UA

Our customers have been connecting our software to KEPServerEX for years, but in the past this has always been through an OPC-DA connection. These connections use the famously difficult and unsecure Microsoft DCOM technology. Now with version 5.2, Ignition can connect to KEPServerEX directly via OPC-UA. Removing DCOM from the equation means that you can enjoy the benefits of OPC-UA: specifically security and the ability to easily set up remote connections. Here is a step-by-step guide for connecting Ignition to KEPServerEX v5.2.

Step 1: Configuring Ignition

  1. In the “Configure” section of the Ignition Gateway, navigate to the “Servers” entry on the left-hand side, underneath “OPC Connections”.
  2. Click “Create new OPC Server Connection…”
  3. Choose “OPC-UA Connection” from the list of connection types.
  4. The default KEPServerEX UA port is 49320.
  5. Delete the default Username and Password fields. Kepware authenticates clients by using a certificate you will install in a later step.
  6. Click “Create New OPC Server Connection”


  1. In the “Configure” section of the Ignition Gateway, navigate to the “Settings” entry on the left-hand side, underneath “OPC-UA”.
  2. At the bottom, click “Download Client Certificate” and save it somewhere convenient. You will need it when configuring KEPServerEX to accept connections.


 

Step 2: Configuring KEPwareServerEX 5.2

  1. Right-click on the KEPServerEX toolbar icon and select “OPC UA Configuration”


  1. Navigate to the “Server Endpoints” tab.
  2. If there is already an endpoint present, click “Edit…”, otherwise click “Add…”
  3. Choose the correct network adapter for your system. Leave the port alone.
  4. Check “Basic128Rsa15” and uncheck “None” and “Basic256”.
  5. Press OK.

  1. Navigate to the “Trusted Clients” tab.
  2. Click “Import...” and navigate to the certificate you saved while configuring Ignition.


  1. Click “Close”.
  2. Right-click the toolbar icon and select “Reinitialize”.