> 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/expansion-modules.md).

# Expansion modules

Q23 and Q26 expansion modules add inputs and outputs to a DATRAN RTU over the RS485 expansion bus (IPB).

The Q23 and Q26 are expansion modules that extend the number of inputs and outputs of a DATRAN RTU (remote telemetry unit). Communication to the RTU is via the RS485 Intelligent Peripheral Bus (IPB). Two Q23 DATRAN eXcel modules may be inter-connected together to operate as a Point to Point telemetry system.

## Modules

| Module                                                                                                                            | What it adds                                                                                                               | Product code |
| --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ------------ |
| [Q23 Analogue and Digital Expansion Module](https://help.qtech.co.nz/datran/datran-telemetry/expansion-modules/q23.md)            | 8 Digital Inputs, 8 Digital Outputs, 6 Analogue Inputs – 2 of which may also be configured as Analogue Outputs             | PD7201       |
| [Q26 Digital Expansion Module](https://help.qtech.co.nz/datran/datran-telemetry/expansion-modules/q26.md)                         | 16 digital inputs, 8 digital outputs                                                                                       | PD7202       |
| [Q23 point-to-point (Multi IO P2P)](https://help.qtech.co.nz/datran/datran-telemetry/expansion-modules/q23/q23-point-to-point.md) | The inputs of one Q23 module are mapped to the outputs of the other Q23 module, over direct connected wires or data radios | –            |

![Q23 expansion module](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F8PaTkeBBj7SDjRmCBl1D%2Fq23.png?alt=media)

## What is the IPB?

The RS485 serial port (Intelligent Peripheral Bus, IPB) is used for inter-module communications over long distances of cables at high speed. The RS485 serial port can be extended up to a maximum distance of approximately 1000 meters with appropriate cable and installation. It can operate in a multi-drop configuration allowing a maximum of 32 devices to be connected to the RS485 line.

* The RTU acts as a Master to poll and retrieve I/O data from one or more I/O expansion devices. The expansion module's RS485 baud rate is factory preset to 9600.
* Each module in a network must have a unique module address. This address can be any number in the range 1…239, set with the block of 8 DIP switches located internally to the IO expansion module casing.
* For a site consisting of an XL4 RTU with a Q23 expansion module, the RTU native digital inputs #1 to #8 are RDI 1 to RDI 8 and the Q23 expansion module digital inputs #1 to #8 are RDI 9 to RDI 16.
* In RS485 applications, especially over long lines, the RS485 transceivers at either end of the line should be terminated with a 120-ohm load. In multi-drop RS485 applications only the far end RS485 transceivers should be terminated.
* QTech Q23 and Q26 expansion modules use the “C” input connected to the O/P output on the RTU to detect and power down if the signal is deactivated (low).
* Q23 and Q26 Expansion modules can be linked back to back separated by (QTech Data Radio, QDR) radio links: see [QDR 900MHz Digital Radio](https://help.qtech.co.nz/datran/datran-telemetry/radios/qdr-900mhz-digital-radio.md).

## Which RTUs do they work with?

| RTU                                                                                                                                                                              | Works with Q23 and Q26 | Set up with                                                                                                                                                         |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DATRAN XL4 Plus RTU](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu.md)                                                                                   | Yes                    | QTech Workbench. See [Communications: Expansion modules](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/communications.md#expansion-modules). |
| [DATRAN XL4 RTU](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-rtu.md) and [XL4 DNP3 RTU](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-dnp3-rtu.md) | Yes                    | QTech Workbench                                                                                                                                                     |
| DATRAN II eXcel RTU (Q03)                                                                                                                                                        | Yes                    | Q90 software                                                                                                                                                        |
| QRTU                                                                                                                                                                             | Yes                    |                                                                                                                                                                     |

Firmware version 5.01 resolves these issues: the Q26 turn around time for response to an XL4 plus IPB message was too short, and the Q26 and Q23 state machine packet decoder fails if the CRC from the previous message contains a SYN character: see [Firmware versions and release notes](https://help.qtech.co.nz/datran/datran-telemetry/expansion-modules/q23/firmware-versions.md).

{% hint style="warning" %}
The XL4 and XL4 Plus RS485 port is an RJ12 connector, identified by having 6 contacts. Ensure that the 6 contact RJ12 is plugged into the XL4 RTU. Do not attempt to insert the 4 contact RJ10 into the RTU, this must be inserted in the expansion module (Q23/Q26 etc). Care must be taken as forcing a Q03 RJ10 plug into a Q04 can damage the socket.
{% endhint %}

## Fix a problem

* [Common questions](https://help.qtech.co.nz/datran/datran-telemetry/expansion-modules/q23/common-questions.md): quick answers to common questions
* [Status lights and troubleshooting](https://help.qtech.co.nz/datran/datran-telemetry/expansion-modules/q23/status-lights-and-troubleshooting.md): what the lights mean, and what to check
* [Expansion modules aren't responding](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/troubleshooting/expansion-modules-not-responding.md): checks for modules on an XL4 Plus, including over QDR radios

## Reference

* [Firmware versions and release notes](https://help.qtech.co.nz/datran/datran-telemetry/expansion-modules/q23/firmware-versions.md)
* [Downloads](https://help.qtech.co.nz/datran/datran-telemetry/expansion-modules/q23/downloads.md): manuals, quick start guides and datasheets
