> 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/multi-point-controller/configure-with-workbench.md).

# Configure with Workbench

Number of modules, polling, comms-fail options and the I/O Link Editor.

Workbench is used for the configuration of the Multi Point Controller. There is no configuration required for the WP2P modules.

{% hint style="info" %}
**Applies to:** Multi Point Controller (PD8620). Requires QTech Workbench v2.11 or later. The per-output hold settings need controller firmware V2.03.
{% endhint %}

## Install Workbench

1. QTech Workbench runs on Microsoft Windows 10 or later. QTech Workbench requires the Microsoft .NET framework version 4.0 or later, to be installed on your computer as a prerequisite.
2. The QTech Workbench software is free to download from the [QTech Website](https://qtech.co.nz/product/workbench/). Run the installer and accept the software licensing agreement in order to install the Workbench software.

During installation of Workbench software, the USB driver will also create a virtual com port assignment for serial communications to the Multi Point Controller. The com port assignment can be seen in the Windows Device Manager applet panel.

## Connect

1. A USB (Type A- B) cable is required to connect to the device. Connect the cable and turn on the device.
2. When connecting to the Device for the first-time using Workbench, the Microsoft Windows operating system will attempt to install the correct USB driver. If your PC is connected to the internet, then the WHQL certified driver from Microsoft will automatically be downloaded and installed. This could take a few minutes. Ensure that the device driver is completely installed before attempting to configure the Device.
3. To configure the device, launch Workbench, choose the device type (**Multi Point Controller**) from the top menu.
4. Press the **Connect** button. Once connected the **Online** indicator will change from red to green, then you may proceed to configure the device.

Setup can be performed “offline” allowing you to pre-configure Controllers. These configurations can then be saved and printed for future use.

![Workbench Overview category for the Multi Point Controller](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F9fvR871tosEEs36UYmCq%2Fmpc-workbench-overview.png?alt=media)

## Overview settings

| Setting                      | What it does                                                                                                                                                                                                                                                                                                                                                                                                        |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Number of WP2P slave modules | This is where the number of WP2P modules in the Multi Point Controller system is defined. There can be a maximum of eight modules.                                                                                                                                                                                                                                                                                  |
| Poll period                  | The Poll Period specifies the time duration between the start of each polling sequence. The poll period is specified in milliseconds. This setting is important as it defines the worst-case latency between activating a given digital input and the corresponding digital output activating. With a shorter Poll Period the I/O is scanned more frequently, but the downside is there will be more radio traffic. |
| Attempt timeout              | The Attempt Timeout specifies how long the Controller will wait for the reply. Depending on the application and quantity of modules, 500ms (0.5 seconds) should be a good starting point.                                                                                                                                                                                                                           |
| Number of attempts           | The Number of Attempts (initial message plus retries) setting specifies the number of times that the Controller will transmit a poll to a given WP2P module before determining that communications with that module has failed.                                                                                                                                                                                     |
| Rev E Protocol               | This new feature has been introduced for compatibility with a new communication protocol. If you are using older revision WP2P modules, then do not select Rev E Protocol in Workbench.                                                                                                                                                                                                                             |

The specified Poll Period value must satisfy the following relationship:

**poll period > number of slaves (R) x number of retry attempts (N) x attempt retry timeout (A)**

For a Multi-Point Controller system with three WP2P modules, the default settings are: Poll Period: 5000ms, Attempt Timeout: 500ms, Number of Attempts: 3. i.e., Every 5000ms (5s) the controller will poll each of the WP2P modules in sequence. The WP2P modules must provide a reply within 500ms of being polled. If a reply from a specific WP2P module is not received within 500ms, the Controller will attempt another 2 times each separated by 500ms. If the WP2P module does not reply, the Controller will move on to the next WP2P module and flash the **ERR** LED to indicate which WP2P module.

The absolute minimum poll period is 4.5 seconds, but we recommend 5 seconds to cater for worst case conditions.

### Radio address and channel

Each WP2P module is labelled with both a unique serial number and a radio address in the format `192.168.0.0`. All modules in a system must have the same first three numbers in their radio address. The 4th number of the radio address represents the **module ID** where the Multi Point Controller is always module ID “0” and the slaves are “1”, “2”, etc.

There are twenty individual frequency bands referred to as “Channel numbers”. The “Channel number” is identified by the `#` on the Multi Point Controller packaging.

{% hint style="warning" %}
**Warning:** Do not use the same channel for adjacent systems. For example, if you currently use `#1` ensure the adjacent system is `#3` etc.
{% endhint %}

For New Zealand's 900MHz ISM band and its power limits, see [900 MHz ISM band channels](https://help.qtech.co.nz/datran/datran-telemetry/planning-and-design/900-mhz-ism-band-channels.md).

### Can I add more WP2P modules later?

Ideally, the number of modules is defined when the system is purchased so QTech can preconfigure them. However, additional modules can be added later. Please order the additional modules from QTech quoting the original project/invoice details. When ordering WP2P modules separately, please supply the Multi Point Controller Serial Number. Workbench software can then be used to change the number of modules in the system.

## Communications failure settings

![Comms Failure settings: comms-fail output and 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)

| Setting                       | What it does                                                                                                                                                                                                                                                                                                                                  |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Use Output to Show Comms Fail | A digital output on the Multi Point Controller can be configured to activate when any of the slave modules have a communications error. The configured output will return to the OFF state once communications are restored to all WP2P slave modules. This can then be used to connect to alarm devices.                                     |
| Comms Fail Output Number      | Specifies the Digital output number to be used for comms failures. Ensure that this output is not required for any other purpose (such as is defined in the I/O mapping).                                                                                                                                                                     |
| Hold Output 1 to 8            | **Yes:** the MPC will retain the current state of this digital output when in the Comms Fail state for the link associated with the output. **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. |

See [Failsafe and output hold](https://help.qtech.co.nz/qtech/wireless-remote-control/planning-and-design/failsafe-and-output-hold.md) and [Radio design and comms failures](https://help.qtech.co.nz/qtech/wireless-remote-control/multi-point-controller/radio-design-and-comms-failures.md).

## I/O Link Editor

The I/O Link Editor is a versatile and powerful way of setting what I/O does what and where in the system. Simply click in each box in the I/O grid to define the system I/O mapping. The yellow shading is provided to help navigate between modules and has no effect on functionality. The **Summary** pane on the right-hand side shows a confirmation of the mapping.

For ease of use please maximise this window on your PC. This will allow you to view and manage seven WP2P devices on a 1280x1024 screen without scrolling.

### Example 1: simple

![I/O Link Editor, example 1](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F4a1ROszCLvMAbIWnakBd%2Fmpc-io-link-example-1.png?alt=media)

In this example, when the switch wired to input 1 of the Multi Point Controller is closed, the following happens: Multi Point Controller Output 1 On, WP2P Module 1 Output 1 On, WP2P Module 2 Output 2 On, WP2P Module 3 Output 3 On.

### Example 2: modules talking to each other

![I/O Link Editor, example 2](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FfkSIEHG4IQNL1X5PmF3E%2Fmpc-io-link-example-2.png?alt=media)

This example is more sophisticated and shows that each WP2P module can essentially communicate with each other, with communications via the Controller. Multiple links can be configured for any input or output anywhere in the system.

| When this input closes   | These outputs turn on                                                                                   |
| ------------------------ | ------------------------------------------------------------------------------------------------------- |
| Input 1 of WP2P module 1 | Multi Point Controller Output 1; WP2P Module 1 Output 1; WP2P Module 2 Output 1; WP2P Module 3 Output 1 |
| Input 1 of WP2P module 2 | Multi Point Controller Output 2; WP2P Module 1 Output 2; WP2P Module 2 Output 2; WP2P Module 3 Output 2 |
| Input 1 of WP2P module 3 | Multi Point Controller Output 3; WP2P Module 1 Output 3; WP2P Module 2 Output 3; WP2P Module 3 Output 3 |

In the case of Remotes controlling outputs on other Remotes (via messages to the MPC), it can take up to two poll cycles to complete the update.

{% hint style="info" %}
Please remember to save the configuration and/or press **Print** to provide you with a paper copy of the I/O mapping. These should be kept for future reference.
{% endhint %}

## Wireless Configuration

All **Wireless Configuration** settings in QTech Workbench under Multi Point Controller are factory settings and **MUST NOT BE CHANGED** unless instructed directly by QTech technical support staff.
