Versions Compared

Key

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

The NETx Servers provide a standardized OPC UA (Unified Architecture) interface. OPC UA is one of the most important communication protocols for Industry and the IoT.

Table of Contents

OPC UA installation

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

  1. Open the Extension Manager on the PC where you have the Internet  connection.


  2. Navigate to the "Not installed" tab. Select the "OPC UA". Afterwards, press the "Install" button.

    Image Modified

  3. After a successful installation the following confirmation dialog appears.

    image2018-8-29_12-51-29.png

Finally, close the studio and reopen it again. This is required before the extension can be used.

Integrate data points from remote OPC UA server

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.

ParameterDescription
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 SecurityIf set to true, a secure connection will be used to connect to the OPC UA server.
Add Unknown CertificatesIf 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.

PasswordIf 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. 

Add remote data points (nodes)

Now the OPC UA data points can be defined. This is done in the menu item Modules >OPC > OPC UA > Data point definitions. In the following example, a data point from another NETx Server that is running as an OPC server is defined.


Image Modified


ParameterDescription
Server NameThe full name of the remote OPC UA server. This must match the combination name and path from the server definitions.
NameThe 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 TypeThe type of the Node ID (by default String).
NodeId ValueThe node ID of the data point. 
Data type

The data type of the data point.

Access mode read, 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 set to True (T), the value is synchronized between the main and backup server (if present).

...