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 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 be restarted.
BMS Core server datapoints will available through any OPC UA Client.
Integrate data points from another OPC UA
...
server
Adding
...
servers:
The NETx Server provides a an OPC UA Client client module to integrates integrate data points from other OPC UA Serversservers. After installing having installed the plugin, in open the menu entrty Modules>OPC UA>Server definitions. This menu is corresponding with adding another OPC UA Servers to the BMS Platform.Within this definition file, foreign OPC UA servers can be added. In the following example a another BMS NETx Server Platform that is running as a an OPC Serverserver is defined.
Parameter | Description |
---|---|
Name | The given name of the OPC UA |
server in |
the NETx Server. The combination of name and path must be unique within this definition file. | |
Path | The generated |
path in the Item Tree. The combination of name and path must be unique within this definition file. | |
URL | The URL of the OPC UA Server. |
Use Security |
If set to true, a secure connection will be used to connect to the OPC UA server. |
Add Unknown Certificates |
If enabled, unknown certificates are accepted by the OPC UA client implementation. If disabled, the certificate must be trusted by this computer. A trusted certificate must be either an official certificate or the CA certificated must be located in the certificate store of the local computer (path "Local Computer\NETx BMS Platform"). | |
Username | If the OPC UA Server requires Authentication with a |
username and a |
password. | |
Password | If the OPC UA Server requires Authentication with a |
username and a |
password. | |
Write timestamps | Choose which |
timestamps shall be used for writing to OPC UA data points. |
Adding data points:
In Server definitions Server has been configured. Now Now the OPC UA data point points 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 data point from another BMS Platform NETx Server that is running as a an OPC Serverserver is defined.
Parameter | Description |
---|---|
Server Name | The full name of the OPC UA |
server. This must match the combination name and path from the server definitions. | |
Name | The name of the |
data point. The combination of name and path must be unique within this definition file. | |
Path | The generated |
path in Item Tree. The combination of name and path must be unique within this definition file. | |
Namespace Index | The index of the namespace URI in the namespace array. |
NodeId Type | The |
type of the Node ID (by default String). | |
NodeId Value | The required |
data point ID. | |
Data type | The data type of the |
data point . |
Access mode |
read, |
read and write or write. | |
Persistent | This parameter specifies whether the value of the data point is persistent (restored from the database after server start up ) or not. |
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 informationTo determine the required namespace index, node id type, node id value and data type, you can use any 3rd party OPC UA client like UaExpert . |
The added Datapoints data points should appear in the ItemTree Item Tree under the predefined Path:
Article applies to the following products:
- NETx BMS Platform
- NETx Multi Protocol Server
- NETx BMS Server 2.0
...