Versions Compared

Key

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

...

SmartConnect 4.2 and higher, OPC UA is a Beta release.
Info

For SmartServer 4.1 and prior, see (Optional) Enabling the OPC UA Server (Release 4.1 and Prior).

The OPC UA server provides an OPC/UA-compliant interface to all IAP-accessible datapoints on SmartServer-to-OPC UA client applications (e.g., OPC UA compliant SCADA workstations AVEVA Edge HMI and GE Cimplicity HMI/SCADA). 

This section consists of the following:

Table of Contents
maxLevel3

Overview

OPC UA is a machine-to-machine communication protocol developed by the OPC Foundation. The SmartServer OPC UA server supports up to 10,000 subscriptions and on-demand read (poll).

For Structure or Union Extension Object (such as SNVT_switch), the SmartServer OPC UA server includes an as_string string property type that will display the structure as a string data type at an OPC UA client. The feature is useful when an OPC UA client does not support Extension Object.

Other SmartServer features are as follows:

  • SmartServer 2.8 and higher includes a 

    preset 

    preset feature that allows preset values to be used and displayed at the OPC UA client. It supports both anonymous and Basic256Sha256 (apollo user login) authentication settings.

  • SmartServer 3.0 and higher supports input datapoint node priority read/write

Setting the OPC UA Configuration

The OPC UA Configuration page is used to enable the OPC UA server function. This page allows you to name the OPC UA server and port. The IP Address/Hostname should be 127.0.0.1

To enable OPC UA, perform the following steps:

  1. Open the SmartServer Configuration page as described in Accessing the SmartServer IoT Configuration Page.

...

  1.  The Network tab appears as the default SmartServer Configuration page.

...

  1.  Once the network settings are configured for the SmartServer system, then the System tab will appear as the default.

...

  1. image-20250212-193014.pngImage Added

    Image Added



    For SmartConnect, open the SmartServer Configuration page as described in Accessing the SmartConnect Configuration Page.

...

  1. The Configuration view that appears depends on your cache data. As needed, click the SmartServer IoT tab.

...

  1. The System tab (top) will appear as the default as shown below.

...

  1. image-20250212-193111.pngImage Added

...

  1. Click the OPC UA tab. 

...

  1. Image Added

    image-20250212-193822.pngImage Added

  2. Enable the OPC UA server option.

...

  1. image-20250212-193912.pngImage Added

    image-20250212-194011.pngImage Added


    The OPC UA endpoint URL that is used by the OPC UA client to communicate with the OPC UA server is:

    Code Block
    opc.tcp://<SmartServer IoT or

...

  1.  SmartConnect hostname>:55000/UA/echopcua-server

    Examples:

    Code Block
    opc.tcp://192.168.1.15:55000/UA/echpcua-server
    Code Block
    opc.tcp://smartserver-17q4aa8:55000/UA/echopcua-server

    For more information about supplying the <SmartServer IoT or

...

  1. SmartConnect hostname> variable depending on your SmartServer environment, refer to the Connectivity Testing section found in Connect to Your SmartServer.

  2. Click Update to save your configuration settings.

Disabling the Anonymous Connection End Point

...

To disable the anonymous connection end point, perform the following steps:

...

  1. Access the SmartServer Configuration page and click the OPC UA tab as described in the Setting the OPC UA Configuration section above

  2. Stop the OPC UA server by deselecting the Enabled option on the OPC UA Configuration page.

...

  1. Image Added

    image-20250212-194627.pngImage Added

  2. Click Update on the OPC UA Configuration page for changes to take effect.

  3. Connect to the SmartServer at the console.

  4. Enter the following command: 

    Code Block
    cd /var/apollo/data/opcua

  5. Modify the OPCUA_config.xml file by setting the <EnableAnonymousEndpoint>true</EnableAnonymousEndpoint> flag to false as indicated below.

...

  1. Image Added

  2. Restart the OPC UA server by enabling the OPC UA server option as described in the Setting the OPC UA Configuration section above.