> 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/qtech/wireless-remote-control/planning-and-design/failsafe-and-output-hold.md).

# Failsafe and output hold

What the outputs do when the radio link is lost, on each product, and how to set it.

Do the outputs fail open or closed? On a WP2P, the HOLD switch decides. “ON”: the outputs will retain (HOLD) their current state if the communication link between the WP2P pair is lost. “OFF”: the outputs will return to the open (OFF) state after 30 seconds if the communication link between the WP2P pair is lost. On a Q48 Point to Point, using the default configuration, the outputs remain in their last known state during a comms fail. QTech can be requested to set the outputs to “Failsafe mode”.

{% hint style="info" %}
**Applies to:** WP2P Digital and WP2P Analogue & Digital (Revision E, with the HOLD switch), Multi Point Controller (firmware V2.03 for per-output settings), and Q48 Point to Point.
{% endhint %}

When designing your remote monitoring system, it is important to consider what happens to the output signals if the radio link goes down or is interrupted, ie “failsafe”. A good example is effluent pump control – Do you want the connected pump to continue pumping or is it better to switch the pump off for the duration of the comms fail?

## At a glance

| Product                                         | When the link drops                 | How to change it                                       |
| ----------------------------------------------- | ----------------------------------- | ------------------------------------------------------ |
| WP2P Digital, WP2P Analogue & Digital           | Set by the **HOLD** switch          | HOLD switch inside each module                         |
| Multi Point Controller (its own outputs)        | Set for each output                 | HOLD or RELEASE function in Workbench (firmware V2.03) |
| WP2P modules in a Multi Point Controller system | Outputs stay in their current state | See the note below                                     |
| Q48 Point to Point                              | Outputs stay in their last state    | Factory **failsafe** option, ordered from QTech        |

## WP2P modules: the HOLD switch

![The OPTION DIP switches: REPT and HOLD](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FaTrl0ZTidXD9nKJZ8BdI%2Fwp2p-dip-switches.png?alt=media)

There are two DIP switches labelled **OPTION** that allow configuration options for each WP2P to be set.

| Switch                   | ON                                                                                                          | OFF                                                                                                                       |
| ------------------------ | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| **HOLD** (output relays) | The outputs will retain (HOLD) their current state if the communication link between the WP2P pair is lost. | The outputs will return to the open (OFF) state after 30 seconds if the communication link between the WP2P pair is lost. |
| **REPT** (repeater)      | The WP2P is to be used with a repeater.                                                                     | The WP2P is to be used without a repeater.                                                                                |

Once the communication link is re-established the outputs will update to reflect the current input states of the other module.

{% hint style="info" %}
Both WP2P modules in a system must have the same REPT switch setting.
{% endhint %}

The HOLD function applies to all outputs on a WP2P module. Each WP2P module in a system can be configured differently to allow flexibility. To change it, see [WP2P Digital: Configure](https://help.qtech.co.nz/qtech/wireless-remote-control/wp2p-digital/configure.md).

The Link Status indicator is based on the “keep-alive” message the WP2P modules send if it has been longer than 30 seconds since they last sent a message. Therefore, if one of the modules is turned off, it will take no longer than 30 seconds for the other module to detect that the link is down.

## Multi Point Controller

On the MPC, the device is configured in Workbench for each of the 8 digital outputs to enable the HOLD function or the RELEASE function.

* When HOLD is configured as ON (Yes) for a digital output, the MPC will retain the current state of this digital output when in the Comms Fail state for the link associated with the output.
* When HOLD is configured OFF (No) the MPC will reset (RELEASE) the state of this digital output when in the Comms Fail state for the link associated with the output. This will set the output to its OFF or NEGATED state.

![MPC Comms Failure settings in Workbench, with Hold Output for each output](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F6lopg7kQ3pMMIIcViKvt%2Fmpc-comms-fail-settings.jpg?alt=media)

A digital output on the Multi Point Controller can be configured to activate when any of the slave modules have a communications error. See [Configure with Workbench](https://help.qtech.co.nz/qtech/wireless-remote-control/multi-point-controller/configure-with-workbench.md).

{% hint style="info" %}
**Applies to:** configurable hold and release on the controller's outputs came in firmware V2.03 (user guide v1.7).
{% endhint %}

### WP2P modules in a Multi Point Controller system

The application note on MPC radio communications for system designers says that, on the WP2P (Remote), the digital output will remain in its current state in the event of a link fault.

{% hint style="warning" %}
The Multi Point Controller user guide (v1.7) says instead that the WP2P has a physical switch labelled HOLD: when HOLD is switched ON the WP2P will retain the current state of all its digital outputs when in the Comms Fail state.
{% endhint %}

## Q48 Point to Point

Using the default configuration, the Q48-P2P outputs remain in their last known state during a comms fail. For example, if a Digital Output was on before the comms fail occurred, it will remain on during the comms fail.

“Failsafe” options during communication link failures can be configured by QTech prior to supply. QTech can be requested to set the outputs to **“Failsafe mode”**, which will, for the duration of the communication failure:

* the digital outputs turn off (open)
* the analogue outputs go to the minimum allowable value

If required, please discuss this with us prior to purchase of the Q48-P2P system. The number of retries and the poll rate affects the total time to determine if there is a communication link failure: see [How it communicates](https://help.qtech.co.nz/qtech/wireless-remote-control/q48-point-to-point/how-it-communicates.md). The failsafe behaviour of the Q48-P2P is different to the QTech WP2P system.

## Design advice

* QTech recommends that the HOLD function be invoked where possible to avoid the effect of short or bursty communication failures.
* If the RELEASE function is used then every time a message is missed (which might be reasonably often on a poor communications link), then the pump will drop out (be turned off), possibly needing manual intervention thereafter.
* At least one output on the MPC should be dedicated to monitoring Comms Fail faults so that if they persist or of a long duration further action can be taken by a PLC, RTU, alarm messaging service or fail-safe controls. See [Radio design and comms failures](https://help.qtech.co.nz/qtech/wireless-remote-control/multi-point-controller/radio-design-and-comms-failures.md).
