> 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-telemetry/datran-xl4-dnp3-rtu.md).

# DATRAN XL4 DNP3 RTU

The XL4 RTU with a DNP3 outstation (slave) instead of DATRAN's own protocol, for DNP3 SCADA systems. Product code PD-7401-DNP3.

<figure><img src="https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FeQseRbJFDjAv7jbEJDLF%2Fdatran-cover.jpg?alt=media&amp;token=f17d2e43-0645-4a71-849f-cb2c67ee7d58" alt="DATRAN"><figcaption><p>qtech.co.nz  techsupport@qtech.co.nz  +64 3 366 3713</p></figcaption></figure>

The DATRAN XL4 DNP3 RTU (product code PD-7401-DNP3) is an XL4 RTU (remote telemetry unit) that talks DNP3 to your SCADA (supervisory control and data acquisition) master. It's a DNP3 outstation (slave), built on the Triangle MicroWorks DNP3 slave source code library, at DNP3 Level 3. It can also run your own control program (DLP), written in ladder logic, like a PLC.

![The DATRAN XL4 DNP3 RTU](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FhQHv6kbLz8biK8D2wuaA%2Fxl4-dnp3-rtu.jpg?alt=media)

{% hint style="info" %}
These pages are for the XL4 DNP3 RTU with Q04 firmware, from the XL4 DNP3 RTU Quick Start Guide, the DNP3 Device Profile V2 (August 2017) and the datasheet (2018). See the older [DATRAN XL4 RTU](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-rtu.md). The [DATRAN XL4 Plus RTU](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu.md) has the same dimensions as the XL4 RTU and is therefore a drop-in replacement for the XL4 RTU; see [Upgrade an XL4 to an XL4 Plus](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/upgrade-xl4-to-xl4-plus.md) and [Which version do I have?](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/which-version.md)
{% endhint %}

On the XL4 Plus, DNP3 units are sold and licenced as a separate model.

## Start here: install and wire

See:

* [Install and wire](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-rtu/install-and-wire.md): power, ports and the processor board
* [Status lights](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-rtu/status-lights.md): the lights and error codes
* [Configure](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-rtu/configure.md): QTech Workbench and factory defaults

![XL4 DNP3 RTU side panel connectors](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FsqcRkvovdYDKAL91ihPf%2Fxl4-dnp3-rtu-connectors.jpg?alt=media)

## Factory settings

| Setting                       | Default                       |
| ----------------------------- | ----------------------------- |
| Master (base station) address | 1                             |
| Slave (XL4 DNP3 RTU) address  | 2                             |
| Unsolicited messages          | Off                           |
| DNP3 port                     | RS232-A, 9600 baud, no parity |
| Ethernet IP address           | Static, 192.168.0.1           |

DNP3 isn't available on RS232-B.

## Set up DNP3

1. With Workbench installed and running, connect the USB cable to the port labeled **CNFG** on the XL4 DNP3 RTU and to a USB port on the PC.
2. Open the **Communications** category.
3. Choose the port for DNP3: on **RS232 A** or **Ethernet**, set the port function to **DNP3 (RTU as Slave)**. You can use one or the other, not both: once DNP3 is chosen on one, it's removed from the other's list.
4. Here you can change the Baud Rate, Parity and Flow Control, Master and Slave addresses and also the Unsolicited Message defaults and for which classes of data.
5. Optional: set **Extended I/O** to add virtual points, such as set points, that the DLP can use.
6. Write the configuration to the RTU.

![Workbench RS232 A port set to DNP3 (RTU as Slave), with the DNP3 addresses, extended I/O and unsolicited messages](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FBTs1748WqXsC4ew57PTA%2Fxl4-dnp3-workbench-rs232a.png?alt=media)

### For Ethernet

The Ethernet port uses a static IP address, 192.168.0.1 by default. Change it, with the netmask and gateway, to suit your network: ask your network administrator. They may need the RTU's MAC address, which is shown in Workbench's **Overview** category.

## DNP3 I/O

| XL4 DNP3 RTU I/O   | DNP3 objects                                                                                                         |
| ------------------ | -------------------------------------------------------------------------------------------------------------------- |
| 8 digital inputs   | Object 1 or 2 (Binary Inputs)                                                                                        |
| 8 digital outputs  | Object 10 or 12 (Binary Outputs or CROB)                                                                             |
| 6 analogue inputs  | Object 30 or 32 (Analog Inputs)                                                                                      |
| 2 analogue outputs | Object 40 or 41 (Analog Outputs)                                                                                     |
| Health information | Object 20 (counters): counter 0 is the RTU supply voltage, counter 1 the reset count, counter 2 the firmware version |

To add I/O, connect [Q23 or Q26 expansion modules](https://help.qtech.co.nz/datran/datran-telemetry/expansion-modules.md) to the RS485 port, and add them in Workbench's **Input/Output** category with **Add Module**.

For the full list of objects, variations and point mappings, see [DNP3 device profile](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-dnp3-rtu/dnp3-device-profile.md).

## Specifications

Specifications are subject to change without notice.

|                       |                                                                                                                        |
| --------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Product code          | PD-7401-DNP3                                                                                                           |
| DNP3                  | Outstation (slave), Level 3. Triangle MicroWorks DNP3 slave source code library, version 3.                            |
| Processor             | Q04, 32-bit ARM7, 72 MHz                                                                                               |
| Memory                | 4 MB flash, 16 MB RAM                                                                                                  |
| Supply voltage        | 12–24 V DC (30 V DC maximum), with supply voltage monitoring                                                           |
| Current consumption   | Nominal 200 mA at 12 V DC; 100 mA at 24 V DC                                                                           |
| Switched power output | To control other modules, limited to 2 A                                                                               |
| Digital inputs        | 8, normally open (close to activate), opto-isolated, with status lights. Event buffer of 15 events.                    |
| Digital outputs       | 8, open collector, with transient, thermal and short-circuit protection. 2 A maximum switching current, internal fuse. |
| Analogue I/O          | 6 inputs, 2 of which can be outputs. 4–20 mA, 0–20 mA, 0–5 V or 0–10 V, single-ended or differential.                  |
| Ethernet              | 10/100 Mbit, Cat 5, 1.5 kV isolation                                                                                   |
| RS232                 | 2 × RJ45, with flow control                                                                                            |
| RS485                 | 1 × RJ12, 2.5 kV isolation, for expansion modules                                                                      |
| USB                   | Type B, for configuration and diagnostics. USB host fitted for future use.                                             |
| Real-time clock       | Battery backed (rechargeable)                                                                                          |
| Terminals             | Screw terminals                                                                                                        |
| Mounting              | DIN rail TS35                                                                                                          |
| Dimensions            | H 130 × W 45 × D 145 mm                                                                                                |
| Weight                | 350 g                                                                                                                  |
| Configuration         | QTech Workbench, over USB                                                                                              |

## Related pages

* [DNP3 device profile](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-dnp3-rtu/dnp3-device-profile.md)
* [DATRAN XL4 RTU (older model)](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-rtu.md)

The current datasheet is on the [DATRAN XL4 DNP3 RTU product page](https://qtech.co.nz/product/datran-xl4-dnp3-rtu/).
