...
To enable OPC UA, perform the following steps:
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.
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.
appears.
Click the OPC UA tab.
The OPC UA tab appears.
Enable the OPC UA server Enabled option and click Update.
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.
Click Update to save your configuration settings.
...
Access the SmartServer Configuration page and click the OPC UA tab as described in the Setting the OPC UA Configuration section above
Stop the OPC UA server by deselecting the Enabled option on the OPC UA Configuration page and click Update.
Click Update on the OPC UA Configuration page for changes to take effect.
Connect to the SmartServer at IoT or SmartConnect using the console.
Enter the following command:
Code Block cd /var/apollo/data/opcua
Modify the OPCUA_config.xml file by setting the <EnableAnonymousEndpoint>true</EnableAnonymousEndpoint> flag to false as indicated below.
Restart the OPC UA server by enabling the OPC UA server option as described in the Setting the OPC UA Configuration section above.