How to configure tag aliases in OPC UA Proxy

The OPC UA Proxy is a feature component of the OPC UA Wrapper. It enables communications between your OPC UA Servers and OPC Classic Clients quickly and efficiently. You can also configure aliases for the tags via CSV files. The alias will define friendly tag names of your choice and will be mapped to the original OPC UA node IDs e.g. unit/main.XXX[ns*2,s*unit/main.XXX].

This tutorial provides detailed steps how you achieve the tag aliases configuration in the OPC UA Proxy. The main steps are as follows:

  1. Install the OPC UA Wrapper using an administrator account. Refer here to download the product trial setup.
  2. Open the OPC UA Wrapper graphical user interface.
  3. Right click on the “UA to COM” node and then select “Add Proxy”.
  4. Enter the endpoint URL of your OPC UA Server then click the “Apply”
  5. Select the Protocol and the ProgID of the new Proxy then click the “OK” button:
add new proxy - Integration Objects
Add New Proxy
  1.  Check the “Use Alias” option as illustrated below. Then, click the “Save” button
Enable “Use Alias” option
Enable “Use Alias” option
  1. Right click on the configured proxy, click “Export Alias” and save the CSV file.
Alias configuration: Export Alias
Alias configuration: Export Alias
  1. Open the exported CSV file and modify the second column in order to set your own tag aliases. Please note that the first column must not be modified because it indicates the original OPC UA node IDs.Also, you need to configure unique alias names for your tags.
Tag Aliases Configuration Example
Tag Aliases Configuration Example
  1. Once you are done with your CSV file configuration, right click on the configured proxy, click “Import Alias” and choose your CSV file. Then, click the “Save” button in the COM Configuration panel and the “Save” button in the UA Configuration panel as illustrated below:
Alias configuration: Import Alias
Alias configuration: Import Alias
  1. Now, connect to your proxy using your OPC Classic Client, add group and then add items. The items will be displayed using the configured alias names, as illustrated in the example below:
Add Items Dialog
Add Items Dialog

To disable the alias option:

    1. Verify that the OPC UA COM Proxy Server process is not running from your task manager
    2. Select the configured proxy
    3. Uncheck the “Use Alias” option
    4. And click save

For more information about Integration Objects’ OPC UA Proxy: https://integrationobjects.com/sioth-opc/sioth-opc-unified-architecture/opc-ua-proxy/

Related Posts