Table of Contents |
---|
OPC UA installation
The OPC UA extension is available through the Extension Manager. When the BMS Core Studio studio is stopped, the Extension Manager can be started from the BMS Studio studio menu Extensions / Manager / Start extension manager...
- Open the Extension Manager on the PC where you have the Internet connection.
- Navigate to the "Not installed" tab. Select the "OPC UA". Afterwards, press the "Install" button,
After a successful installation the following confirmation dialog appears:.
The Finally, close the BMS Core Studio studio and reopen it again; this . This is required before the extension can be used.
OPC UA as Server
After starting the BMS Core Studio and from the BMS Studio menu having installed the OPC UA extension, the some basic settings have to done. To do so, start the studio and open the menu entry Modules/ OPC UA/ OPC UA server configuration...
To make BMS Core server runs as OPC UA server you need Enable OPC UA option. After that Server needs to
First of all, the OPC UA driver has to be enabled (option "Enable OPC UA"). Then, a username / password for connecting to the OPC UA interface can be set. As an alternative, "Anonymous Access" can be enabled. After having changed the required settings, the server must be restarted.
BMS Core server datapoints After the server restart, the Server Items of the NETx Server will available through any OPC UA Client.
Integrate data points from another OPC UA Server
Adding Servers:
The NETx Server provides a OPC UA Client module to integrates data points from other OPC UA Servers. After installing the plugin, in the Modules>OPC UA>Server definitions. This menu is corresponding with adding another OPC UA Servers to the BMS Platform.In the following example a another BMS Platform that is running as a OPC Server.
...
The given name of the OPC UA Server in BMS Server.
...
The generated Path in Item Tree.
...
The URL of the OPC UA Server.
...
If the OPC UA Server requires Authentication with a Username and a Password.
...
Adding data points:
In Server definitions Server has been configured. Now OPC UA data point can be defined.This is done within the "Modules>OPC UA> Data point definitions" . Datapoint definitions should match the the OPC UA Server item. In the following example a datapoint from another BMS Platform that is running as a OPC Server.
...
The generated Path in Item Tree.
...
The index of the namespace URI in the namespace array.
...
The data type of the Datapoint .
...
Synchronize
...
If this parameter is set to “True (T)”, the value is synchronized between the main and backup server (if present).
Info |
---|
For further check on Namespace Index, NoteId Type, NodeId Value and Data type. You can use 3rd party Software like UaExpert to get those information. |
The added Datapoints should appear in the ItemTree under the predefined Path:
. To connect from an OPC UA client, the OPC UA connection URL for the NETx Server has to be entered. These server URLs can be found within the System Log Messages after server startup. Open the system log file and search for the following entries:
Code Block |
---|
Plugin.OPCUA The following Endpoint URLs are available:
Plugin.OPCUA opc.tcp://<host name>:48400/UA/NETxBMSPlatform Security: http://opcfoundation.org/UA/SecurityPolicy#None
Plugin.OPCUA opc.tcp://<host name>:48400/UA/NETxBMSPlatform Security: http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256
Plugin.OPCUA opc.tcp://<host name>:48400/UA/NETxBMSPlatform Security: http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256
Plugin.OPCUA https://<host name>:48401/UA/NETxBMSPlatform/ Security: http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256
Plugin.OPCUA OPC UA started |
Using these URLs, you can connect from any OPC UA client to our NETx Server.
Article applies to the following products:
- NETx BMS Platform
- NETx Multi Protocol Server
- NETx BMS Server 2.0
...