Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Connecting a Kepware Client to an OPC UA server involves establishing a communication link that adheres to the OPC UA standard. It requires managing security certificates, defining connection details within Kepware, and importing the OPC UA server's tag structure. Configuration includes the certificate exchange, specifying server endpoints, and adding relevant tags.

On this page:

Table of Contents
maxLevel3
stylenone



System Requirements

  • KepServerEx V5 (or superior).
  • OPC UA Protocol

How to Use

The procedure for a successful OPC UA connection is divided into three main steps.

  • KepServerEx OPC UA Client Certification
  • Creating certificates for the OPC Server
  • Kepware OPC Client Configuration

KepServerEx Client Certificate

In the Kepware OPC UA Configuration Manager, go to Instance Certificates(1). In the Client Certificateportion, click Export Client Driver Certificate...(2), and save the file in any folder you want.

Image RemovedImage Added

OPC UA Server Configuration

Navigate to the Info Solution → Settings tab, locate the OPC Server Runtime configuration, select OPC UA, and click on Settings (1).

You should see an application called UA Server Configuration Helperopening up. Click Browse (2)and search for the file .. fs-9.1uaPLUS.Net4.exe. Then, click Create UA Configuration(3)followed by Edit UA Configuration (4).

Image RemovedImage Added

The Edit UA Configurationpage is where the OPC UA Server properties are configured, such as Endpoint(1), Security Policies (2), and Certifications(Client and Server) (3).

Image RemovedImage Added

In the certificate popup, click Import a Client Certificate (4)and browse for the Kepware Client Certificate. Then, in Create a new self signed server certificate (5), give it a friendly name, and click Create.

Finally, click Export (6)to save the Server Certificate. Click OK → Save And Close → Done

KepServerEx Configuration

In the KepServerEX Configuration display, right-click Connectivityand select New Channel. From the Channel Wizard popup, browse for the OPC UA Client.

Image RemovedImage Added

Fill in the Wizard configuration with the information from the OPC Server.

Image RemovedImage Added

Click Add Device (1)and name it. Fill in all the device parameters until you reach the Import Items (2) page.

The import tool WILL NOT work right now because the OPC Server (Project) is not running yet. Click  Advance (3)and finish your configuration.

Image RemovedImage Added


Importing Server Certificate

Back in the OPC UA Configuration Manager, go to the Trusted Servers (1) tab and Import (2) the OPC Server certificate.

Image RemovedImage Added

Reinitialize the Kepware service and run your project.


Solution Runtime

Once the configuration is done, you can launch the Solution to test the communication exchange. Remember to have the OPC Server Module enabled on Runtime → Startup.

Image RemovedImage Added

You can now go to your Kepware Device and Browse for the existing Tags.

Image RemovedImage Added

Note

The Tags Visibility property (onEdit → Objects) must be configured according to the description below:

  • Public: Can be read and write in your OPC
  • Protected: Can only be read
  • Private: will not be seen or browsed

In the Advosol UAplus Server popup, you can monitor the clients currently connected to your server. As shown in the image below, we have one client (Kepware’s OPC Quick Client) that is successfully communicating with our ProjectSolution.

Image RemovedImage Added


In this section

...

:

Page Tree
root@parent
spaces93DRAFT