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:
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 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:
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:
Enable the OPC UA server option.
SmartServer IoT OPC UA enabled status
SmartServer Pi OPC UA enabled status
The OPC UA endpoint URL that is used by the OPC UA client to communicate with the OPC UA server is:
opc.tcp://<SmartServer IoT or SmartServer Pi hostname>:55000/UA/echopcua-server
Examples:
opc.tcp://192.168.1.15:55000/UA/echpcua-server
opc.tcp://smartserver-17q4aa8:55000/UA/echopcua-server
For more information about supplying the <SmartServer IoT or SmartServer Pi hostname> variable depending on your SmartServer environment, refer to the Connectivity Testing section found in Connect to Your SmartServer.
You can disable the anonymous connection end point by modifying the OPCUA_config.xml file. With this setting change, the OPC UA server will only publish the secure endpoint with username/password authentication.
To disable the anonymous connection end point, perform the following steps:
cd /var/apollo/data/opcua
Modify the OPCUA_config.xml file by setting the <EnableAnonymousEndpoint>true</EnableAnonymousEndpoint> flag to false as indicated below.