> 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-da.md).

# DATRAN OPC Server and Client (OPC DA)

DATRAN's older OPC DA interfaces: the OPC Server, for iFIX and InTouch, and the OPC Client, for reading other OPC servers into DATRAN.

These are DATRAN VI's older interfaces for OPC DA (OPC Data Access, also called OPC Classic). OPC DA relies on Microsoft DCOM.

* **DATRAN OPC Server Interface** (the DATRAN OPC I/O Driver Server): allows OPC clients such as InTouch and iFIX to connect to DATRAN. See [Set up the DATRAN OPC Server](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-da/opc-server.md).
* **DATRAN OPC Client Interface**: provides the mechanism for a DATRAN system to connect to multiple OPC servers that support Data Access (DA) version 1.0 and 2.0. This enables the DATRAN system to be used as a point of integration for a SCADA system which has multiple data sources from different vendors. See [Connect DATRAN to another OPC server](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-da/opc-client.md).

{% hint style="warning" %}
The [DATRAN OPC-UA Server](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server.md) replaces OPC Data Access (DA).
{% endhint %}

## What each needs

|               | OPC Server Interface                                                            | OPC Client Interface                                                                                                           |
| ------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Direction     | Other software reads DATRAN                                                     | DATRAN reads other OPC servers                                                                                                 |
| DATRAN VI     | The XML Data Interface's XML service, licensed (installed from DATRAN VI V6.48) | V6.60 or later; installed with DATRAN VI                                                                                       |
| Licence       | XML service security key, tied to the server's disk                             | The OPC Client Interface service key. See [Licensing](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/licensing.md). |
| OPC DA        | Serves OPC DA clients such as iFIX and InTouch                                  | Connects to OPC DA 1.0 and 2.0 servers                                                                                         |
| Documentation | User Manual v1.07 (January 2013)                                                | DATRAN Browser help                                                                                                            |

## Why move from DDE to OPC

DDE (Dynamic Data Exchange) has been used for many years as the method to exchange data. Although DDE is currently still supported by Microsoft® operating system, it is not being actively developed and should be considered as being at the end-of-life.

OPC offers the following advantages over DDE:

* OPC has faster data exchanges than DDE.
* OPC is an investment protection since OPC is an accepted standard for connecting drivers to software, you can change your VB application for another application and keep the same driver - before OPC you could not do that.
* OPC allows you to group the items using OPC grouping.
* OPC servers have the ability to send both synchronous and asynchronous device writes.
* An OPC client can browse the defined items created within an OPC server.

To move a DDE system to the OPC Server, see [Migrate from DDE](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-da/opc-server.md#migrate-from-dde).

## Versions

* DATRAN OPC Client Interface 1.0: released July 2008, with DATRAN VI V6.60.5.
* DATRAN OPC Server Interface User Manual: revision 1.07, January 2013. Revision 1.06 (2010) added registering the server with InTouch.

## Start here

* [Set up the DATRAN OPC Server](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-da/opc-server.md): the XML service, installing, registering with iFIX or InTouch, and moving from DDE

## Use it

* [Connect DATRAN to another OPC server](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-da/opc-client.md): data servers, groups and OPC client items

## Fix a problem

* [Troubleshooting](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-da/troubleshooting.md)
* [Add-ons: common questions](https://help.qtech.co.nz/datran/datran-vi-scada/add-ons-common-questions.md#opc-da)

## Reference

* The DATRAN OPC Client release notice (July 2008): ask QTech.
