Versions Compared

Key

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

...

To enable OPC UA, perform the following steps:

  1. Open the SmartServer For SmartServer IoT, log into the Configuration page as described in Accessing the SmartServer IoT Configuration Page. The Network tab appears as the default SmartServer Configuration page. Once the network settings are configured for the SmartServer system, then the System tab will appear as the default.

    image-20250212-193014.pngImage Removed

    Image Removed

    For SmartConnect, open the SmartServer  For SmartConnect, log into the Configuration page as described in Accessing the SmartConnect Configuration Page. The Configuration view that appears depends on your cache data. As needed, and click the SmartServer IoT tab (left side) as needed.

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

    image-20250212-193111.pngImage Removed

    appears.

    image-20250604-185712.pngImage Added

    image-20250212-221520.pngImage Added

  2. Click the OPC UA tab. 

    Image Removed

    image-20250212-193822.pngImage Removed The OPC UA tab appears.

    image-20250604-232932.pngImage Added

    image-20250212-200833.pngImage Added

  3. Enable the OPC UA server Enabled option and click Update.

    image-20250212-193912.pngImage Removedimage-20250604-233120.pngImage Added

    image-20250212-194011.pngImage Removedimage-20250212-200945.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 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 SmartConnect hostname> variable depending on your SmartServer environment, refer to the Connectivity Testing section found in Connect to Your SmartServer.

  4. Click Update to save your configuration settings.

...

  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 and click Update.

    Image Removed

    image-20250212-194627.pngImage Removed

    Click Update on the OPC UA Configuration page for changes to take effect.image-20250604-232932.pngImage Added

    image-20250212-200833.pngImage Added

  3. Connect to the SmartServer at IoT or SmartConnect using 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.

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