> 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-plus-rtu/licensing-and-features.md).

# Licensing and features

Which features are licensed, how to read your licence, and how to add a feature such as the archive log.

Some XL4 Plus features, such as Modbus, DF1, DNP3 and the archive log, only run if they're licensed. The licence is tied to the RTU's serial number. You read it and enter new licence keys in QTech Workbench.

{% hint style="info" %}
**Applies to:** XL4 Plus, firmware v7.x. The archive log feature needs firmware V7.19 and the 128 MB archive memory chip.
{% endhint %}

## What can be licensed

![Licensing features list in Workbench on a fully featured RTU](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FqFNk9uLVyVnSVk5XAnWj%2Fworkbench-licence-features.png?alt=media)

| Feature                                    | What it does                                                                                                                                                                     |
| ------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| QComms Master                              | Poll slave RTUs (store and forward, master/slave)                                                                                                                                |
| IPB Master                                 | Poll Q23 and Q26 expansion modules                                                                                                                                               |
| QComms Slave                               | Talk to DATRAN over a serial link                                                                                                                                                |
| QComms Server                              | Talk to DATRAN over Ethernet                                                                                                                                                     |
| Modbus Slave, Modbus Client, Modbus Master | Modbus RTU/ASCII and Modbus TCP. See [Modbus](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/modbus.md).                                                   |
| DNP3                                       | DNP3 outstation (slave)                                                                                                                                                          |
| DF1                                        | Allen-Bradley PLCs. See [PLC interfacing (DF1)](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/plc-interfacing-df1.md).                                    |
| SDI-12                                     | SDI-12 sensors through an RS232 adaptor                                                                                                                                          |
| Archive Log                                | Backs up the RTU log to the 128 MB archive memory. See [Data logging and the archive log](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/data-logging.md). |

New features are added over time so the feature list may vary depending on the Application firmware version in use. The Archive Log feature only appears if the archive memory chip is fitted.

### Fully featured and Legacy

* A **fully featured** XL4 Plus includes Modbus, DF1 and QComms store and forward as standard.
* An **XL4 Plus Legacy** has the same features as the old XL4, without Modbus, DF1 or QComms store and forward.
* **DNP3** units are sold and licenced as a separate model. The DNP3 protocol is not available on models that use QTech’s proprietary comms protocol (QComms).
* All new XL4 Plus product is shipped with the Archive logging feature already licenced unless the product is ordered without the feature.

If a feature is enabled in the configuration but not licensed, the RTU doesn't start it.

## Read your licence

1. Connect QTech Workbench and click **Connect**.
2. Open the **Licensing** category and click **Read Licence** (**Read from Device** in some versions).
3. Workbench shows the serial number, the licensed features and the licence code.

When you install a new XL4 Plus, save a copy of the licence for your records. You can read it again at any time.

## Add a feature

To add a feature, such as the archive log, you need a new licence key from QTech. There's a fee for a new feature.

1. Take a screen shot of the **Licensing** category in Workbench.
2. Email it to <techsupport@qtech.co.nz>. QTech uses the serial number and your current features to make the new key.
3. Purchase the licence key.
4. In Workbench, enter the new key in the licence code field, and tick the new feature.
5. Click **Write Licence** (**Write to Device** in some versions).

## Licence lost or serial number shows ?????

If the ER light flashes fast and continuously, or Workbench shows the serial number as `?????`, the licence or serial number may be corrupted. See [Troubleshooting](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/troubleshooting.md).
