Versions Compared

Key

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

Table of Contents
The NETx BMS Platform provides Servers provide a standardized OPC UA (Unified Architecture) interfaces ,interface. OPC UA is one of the most important communication protocols for Industry and the IoT.

OPC UA installation

OPC UA extension is available through Extension Manager.  When the BMS Core Studio is stopped, the Extension Manager can be started from the BMS Studio menu Extensions / Manager / Start extension manager...

...

After a successful installation the confirmation appears:

image2018-8-29_12-51-29.pngImage Removed

The close the BMS Core Studio and reopen it again; 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...

Image Removed

To make BMS Core server  runs as OPC UA server you need Enable OPC UA option. After that Server needs to be restarted.

Image Removed

BMS Core server datapoints will available through any OPC UA Client. 

Image Removed

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. 

Table of Contents

Add remote server

The NETx Server provides an OPC UA client module to integrate data points from remote OPC UA servers.  After having installed the plugin, open the menu entry Modules > OPC UA > Server definitions. Within this definition file, remote OPC UA servers can be added. In the following example  another NETx Server Platform that is running as an OPC server is defined.

Image Modified

ParameterDescription
Name

The given name of the OPC UA

Server

server in

BMS

the NETx Server. The combination of name and path must be unique within this definition file. 

Path

The generated

Path

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.

User
Use Security
To enable
If set to true, a secure connection will be used to connect to the OPC UA server.
Add Unknown Certificates
To enable Unknown Certificates(by default enabled
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

authentication with a

Username

username and a

Password

password.

PasswordIf the OPC UA Server requires
Authentication
authentication with a
Username
username and a
Password
password.
Write timestamps Choose which
timestamp to write
timestamps shall be used for writing to OPC UA data points

...

Add remote data points

...

(nodes)

Now the OPC UA data point points can be defined. This is done within the "Modules>OPC UA> in the menu item 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. 


Image Modified


ParameterDescription
Server NameThe full name of the remote OPC UA
(should match Name form Server definitions)
server. This must match the combination name and path from the server definitions.
NameThe name of the
Datapoint .
data point. The combination of name and path must be unique within this definition file. 
Path

The generated

Path

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 TypeThe
Type
type of the Node ID (by default String).
NodeId ValueThe
required Datapoint ID
node ID of the data point
Data type
The 

The data type of the

Datapoint

data point.

Access mode 
Read
read,
Read and Write or Write
read and write or write.
PersistentThis 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

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 Pathspecified path

Image Modified

Fine tuning

To get data from OPC UA servers, the client has many different configuration options. These options are used to establish the connection as well as for the data retrieval (OPC UA subscription service). The options can be changed within the OPC UA Client Configuration.

Info

For troubleshooting, the log level of the OPC UA driver can be increased. The corresponding log entries are stored in a separate log file (<WorkspaceDirectory>\LogFiles\xio.OpcUa.log). More information about the configuration can be found in the OPC UA driver configuration.

Article applies to the following products

...

  • NETx BMS Platform
  • NETx Multi Protocol Server
  • NETx BMS Server 2.0

...