> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server.md).

# DATRAN OPC UA Server

Lets third-party HMI and SCADA software, such as Wonderware InTouch and System Platform, read and write DATRAN VI data over OPC UA.

The DATRAN OPC Unified Architecture (UA) Server is a protocol framework for enabling 3rd party applications to communicate with DATRAN using OPC-UA clients. Wonderware Intouch can now connect directly to the DATRAN OPC-UA Server with the Intouch OPC-UA Client. Archestra System Platform has several options for connecting. It has an OPC-UA Client service that will connect directly or it can use the Wonderware Gateway OI Server.

DATRAN OPC-UA Server replaces [OPC Data Access (DA)](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-da.md).

{% hint style="info" %}
These pages are for DATRAN OPC UA Server V1.5, December 2019. This release of OPC UA Server is dependent on new functionality added to DATRAN in version 6.75. OPC UA Server V1.5 is not compatible with DATRAN versions 6.74 and lower. The version number is displayed at the top left of the OPC UA Server window.
{% endhint %}

## How it works

* The OPC UA Server communicates with the Datran TCPServer service.
* Once configured, OPC-UA Clients can subscribe for the desired data tags with DATRAN-OPC-UA Server which then notifies the client when those tags change values. You should see the exposed Datran nodes.
* Valid nodes are all nodes not excluded by DATRAN's TCP Server Application, in the Data Root subtree of the TBD. By default, all nodes whose name begins with "\_" are excluded. Exceptions can be added by modifying the "Include" property of TCP Server.
* DATRAN OPC-UA Server also supports the communications of RTU logged data from QTech RTUs. As RTU logged data is received by DATRAN in a batch, DATRAN OPC-UA Server streams the notifications to the OPC-UA Client in a way to ensure no data is missed. See [Send RTU logged data over OPC UA](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server/rtu-logged-data.md).
* DATRAN OPC-UA Server is typically used as a Microsoft Windows Service but can also be used as a standalone application for development and testing.
* All settings are performed in a single XML file.
* Secure connections between the OPC-UA Server and the client application are created using certificates. It is possible to work without certificates if security is not an issue as the OPC-UA Server can create its own certificates (self signed).
* The DATRAN OPC-UA Server is built using the Unified Automation .NET SDK (Software Development Toolkit).

## What it needs

| Item              | Requirement                                                                                                                                                                                                                                           |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| DATRAN VI         | Version 6.75 or later. OPC UA Server V1.5 is not compatible with DATRAN versions 6.74 and lower.                                                                                                                                                      |
| Licence           | No additional licensing is required for registered users. See [Licensing](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/licensing.md).                                                                                                    |
| A DATRAN operator | Normally this would be any Operator logon as specified in the Datran operator list. Credentials used to connect to DATRAN TCP Server are only required by OPC UA Server to write data to the TreeBase.                                                |
| Network           | Set the port to be used for communication with Datran TCPServer service, for example 13001 (this is the default setting). The port for the OPC UA server to connect to clients is 48030 (this is the default setting, only change it if you need to). |
| Software          | Please log in to the Software Maintenance Agreement (SMA) holder section of the QTech website to download this software.                                                                                                                              |

## Security and the Microsoft DCOM patch

OPC UA has removed the dependence on DCOM. Since OPC UA doesn't rely on DCOM, you can network OPC UA over the internet and through firewalls much more efficiently and reliably. It is also more secure.

The purpose of KB5004442, "Manage changes for Windows DCOM Server Security Feature Bypass (CVE-2021-26414)", is to provide an update on the "hardening" (making more robust) of security features in DCOM to avoid security vulnerabilities. Installing the security updates released on June 14, 2022 enables the registry key by default so that DCOM servers enforce an Authentication-Level of RPC\_C\_AUTHN\_LEVEL\_PKT\_INTEGRITY or higher for activation. QTech's DATRAN OPC UA is implemented against the OPC UA standard only on a pure windows environment. In QTech's initial assessment of DATRAN OPC UA (26 January 2023) there is no impact. QTech is working through the task of checking all our products to ensure there is no impact from applying the security patch. Microsoft recommended that you verify if client or server applications in your environment that use DCOM or RPC work as expected with the hardening changes enabled. If you have any additional questions or concerns, please contact <techsupport@qtech.co.nz>.

## Ordering

Part number 1-PD2033, DATRAN VI XML OPC-UA Server.

## Start here

* [Install and configure the OPC UA Server](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server/install.md): the settings file, running it as a service, and certificates

## Use it

* [Connect InTouch, System Platform or another OPC UA client](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server/connect-clients.md)
* [Send RTU logged data over OPC UA](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server/rtu-logged-data.md)
* [Node changes and node names](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server/node-changes.md): new and deleted nodes, and spaces in names

## Fix a problem

* [Troubleshooting](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server/troubleshooting.md)
* [Common questions](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server/common-questions.md)

## Reference

* [Release notes](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server/release-notes.md)
* [Downloads](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server/downloads.md)
