> 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/q23/q23-point-to-point.md).

# Q23 point-to-point (Multi IO P2P)

Two Q23 modules that copy each other's inputs to their outputs, over cable or radio, with no RTU and no programming.

Two Q23 modules may be connected to operate as a Point to Point telemetry system. The system allows inputs connected at either end to be transmitted to the other end as outputs. No programming is necessary, all settings are by simple DIP switch selection. The Q23 Point to Point modules can communicate with each other over 2-wire RS485 or RS232, either by direct connected wires or by data radios.

![A Q23 point-to-point system: inputs at one end become outputs at the other, over a radio link](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F1Df150NSTgTLS4kyJPIl%2Fq23-p2p-system.jpg?alt=media)

{% hint style="info" %}
**Applies to:** the Q23 point-to-point system, from the Q23 Point to Point Quick Start Guide v4.0 (November 2010) and the flyer (v3, 2010).
{% endhint %}

## How it works

Each module has 8 Digital Inputs & 8 Digital Outputs, 2 Analogue Inputs & 2 Analogue Outputs. In a Point to Point system the inputs of one Q23 module are mapped to the outputs of the other Q23 module. The same I/O mapping applies for Module B to Module A.

| Module A input                       | Module B output                       |
| ------------------------------------ | ------------------------------------- |
| Digital inputs 1–8 (RDI1–RDI8)       | Digital outputs 1–8 (RDO1–RDO8)       |
| Analogue inputs 1 and 2 (RAI1, RAI2) | Analogue outputs 1 and 2 (RAO1, RAO2) |

The factory default range of the analogue I/O channels is 0…20 mA. The analogue channels can be reconfigured individually to either a 0…5 V or 0…10 V range if required. This is accomplished with jumper settings internal to the Q23 unit: see [Jumper settings](https://help.qtech.co.nz/datran/datran-telemetry/expansion-modules/q23/jumper-settings.md).

Applications include:

* “when the float switch closes open the valve at the far end of the paddock”...
* “when the door opens turn on the light in the control room”...
* “when the irrigation pump starts each day open the weir on the far side of the road”…

## Set the DIP switches

The point-to-point system is generally shipped to the customer preconfigured and ready for use. However in some special applications it may be necessary to change the way in which the Point to Point system operates. The Point to Point system is configured using an 8-position DIP switch block located on the Q23 circuit board.

### Module address (switches 1–4)

The module address can be set in the range 0…15. Both modules in a Point to Point system must have the same module address.

| Address | 1   | 2   | 3   | 4   |
| ------- | --- | --- | --- | --- |
| 0       | Off | Off | Off | Off |
| 1       | On  | Off | Off | Off |
| 2       | Off | On  | Off | Off |
| 3       | On  | On  | Off | Off |
| 4       | Off | Off | On  | Off |
| 5       | On  | Off | On  | Off |
| 6       | Off | On  | On  | Off |
| 7       | On  | On  | On  | Off |
| 8       | Off | Off | Off | On  |
| 9       | On  | Off | Off | On  |
| 10      | Off | On  | Off | On  |
| 11      | On  | On  | Off | On  |
| 12      | Off | Off | On  | On  |
| 13      | On  | Off | On  | On  |
| 14      | Off | On  | On  | On  |
| 15      | On  | On  | On  | On  |

### Master or slave (switch 8)

In a Point to Point system one module must be configured as a Master and the other as a Slave.

| Switch 8 | Mode   |
| -------- | ------ |
| On       | Master |
| Off      | Slave  |

### RS232 or RS485 (switch 7)

| Switch 7 | Port                    |
| -------- | ----------------------- |
| On       | RS232 (the RJ45 socket) |
| Off      | RS485 (the RJ10 socket) |

### RS485 baud rate (switches 5 and 6)

When the Point to Point system is configured for RS-485 communications, DIP switches 5 and 6 set the RS-485 baud rate. These must be set the same for both Master and Slave.

| Baud | 5   | 6   |
| ---- | --- | --- |
| 1200 | Off | Off |
| 2400 | On  | Off |
| 4800 | Off | On  |
| 9600 | On  | On  |

### Polling on RS232 or radio (switches 5 and 6)

When the point-to-point system is operated in Radio mode DIP switches 5 and 6 controls the polling method.

| Polling            | 5   | 6   |
| ------------------ | --- | --- |
| Continuous polling | Off | Off |
| 1 minute polling   | On  | Off |
| 5 minute polling   | Off | On  |
| Change of state    | On  | On  |

* The first three polling options in the above table apply to the master module only. They have no effect at the slave module.
* The change of state transmission option applies to a change in a digital inputs state or a 5% change in the Analog input states. The change of state transmission will transfer all input states to the other module in the point-to-point system. The reply from the other module will transfer all that module’s input states back to the module initiating the change of state transmission.
* If the change of state option is enabled in the master then the master will not do any background polling. It is acceptable to set the master for 1 or 5 minute background polling and to set the slave for change of state polling.

## The current system with QDR radios

### Radios and antennas

* The radios are supplied pre-configured and with a suitable cable. See [QDR 900MHz Digital Radio](https://help.qtech.co.nz/datran/datran-telemetry/radios/qdr-900mhz-digital-radio.md).
* Warning - Do not apply power to the QDR before connecting the antenna. The QDR must be connected to PD9241 900MHz 3dBi Whip Antenna at a minimum.
* Outdoor line of sight up to 3km with 3dB whip antenna and up to 6km with 6dB Yagi antenna. Distances are indicative only, depending on terrain.
* RF Output: 120mW to 1W (30dBm)
* Antennas are not supplied. A range of suitable external antennas are available.

### Power

* Q23 modules: Power Supply 12 - 30V DC (Q23 Point to Point flyer v3); the Q23 Owners Manual v1.02 gives the range 11 to 28 volts. The Q23 Module draws approximately 80mA at 12 volts and 60mA at 24 volts power supply input voltages.
* Radio: DC Power Connector – 2.1mm Socket Centre pin +V. Standby supply current: 85mA @ 12V DC. Transmit supply current: 150mA @ 12V DC. See [Power supplies and chargers](https://help.qtech.co.nz/qtech/accessories-and-power/power-supplies-and-chargers.md).

{% hint style="warning" %}
Warning – Do NOT use Switch Mode Power Supplies (SMPS) with this product. The DC power supply used for this product MUST have a grounded negative or be a “linear” transformer-based plug pack. The reason is that the antenna, programming port and external connections can provide exposed earth points and the SMPS can impose an AC voltage on the DC ground, which can lead to damage.
{% endhint %}

### Inputs and outputs

![4–20 mA transmitter with its own power supply, wired to analogue input 1, with the two supplies' grounds connected](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F1ClbjrfvWuVnaz2ASDdV%2Fmulti-io-p2p-4-20ma-wiring.jpg?alt=media)

## Downloads

* [Q23 Point to Point Quick Start Guide v4.0, and the Q23 Owners Manual](https://help.qtech.co.nz/datran/datran-telemetry/expansion-modules/q23/downloads.md)
