> 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/water-insight/sprinkler-control/irrigation-network-controller/reference.md).

# Lights, inputs, outputs and files

The INC's status lights, its inputs and outputs, and the podlist and schedule file formats.

This page lists the INC's lights, its inputs and outputs, and the formats of the files it loads from the SD card.

{% hint style="info" %}
**Applies to:** the INC, with version 5.00 of the INC firmware. From the QIMS INC User Guide V3.0. Schedules (and configuration files) are stored on a memory card (SD card) and loaded into an EP3 or INC memory from the card.
{% endhint %}

## Status lights

| Light   | Meaning                                                                                                                                              |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| **PWR** | Power indicator – solid on indicates that power has been connected to the device.                                                                    |
| **OK**  | Heartbeat indicator - periodic flash (on/off) indicates INC processor operating OK                                                                   |
| **ALM** | Alarm indicator - short period flash indicates no SD Card inserted in memory card slot                                                               |
| **TX**  | Intermittent flash indicates INC radio is transmitting over the mesh radio network                                                                   |
| **RX**  | Intermittent flash indicates INC receiver has detected valid radio activity over the mesh radio network intended for the INC.                        |
| **F1**  | General indicator, not used                                                                                                                          |
| **F2**  | Short intermittent flash indicates the SD card memory is being accessed by the INC processor. Do not remove the SD card whilst it is being accessed. |

If the INC does not restart properly, and you can see that the RED and Green LEDs are alternately flashing, then you should remove the SD Card and re-insert it. See [The firmware upgrade stalls](https://help.qtech.co.nz/water-insight/sprinkler-control/irrigation-network-controller/troubleshooting/upgrade-stalls.md).

## Inputs and outputs

The INC has 6 digital inputs and 6 digital outputs. The outputs are 6 x isolated relay output pairs. The inputs and outputs are arranged in pairs, one for the signal and one for a ground or common level. Each input has an associated indicator which is illuminated if the input is asserted. By default, shorting an input pair will assert the input. Asserting an output will illuminate its associated indicator.

Inputs and Outputs are mapped to and controlled via the Modbus interface connected to IMS software systems. Inputs and Outputs cannot currently be configured or controlled via the user interface. The user should contact Water-Insight if there is a requirement to control plant and equipment for specific application purposes. For pump control from a tank level, see [Control a pump from the tank level](https://help.qtech.co.nz/water-insight/tank-level-monitor/pump-control.md).

{% hint style="danger" %}
**Warning:** Do not directly connect to 220V AC voltage. The New Zealand and Australian wiring regulations require that any wiring in excess of 32 volts must be carried out or be certified by a registered electrician. Consult your local electrical installer for further guidance.
{% endhint %}

## Podlist entries

A typical entry in an IPC list file looks like:

```
[pod1]
name=IPC01
serial=1001
address=00:00:00:00:00:01
schedule=1
channel=1
x-coordinate=0
y-coordinate=0
mode=Mesh
sublateral=1
farmid=01:01
```

| Entry                          | Meaning                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `[pod1]`                       | Record identifier, one for every IPC in the file                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `name`                         | IPC friendly name, listed in the IPC list in an EP3 or INC, limited to 5 alphanumeric characters                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `serial`                       | Unique manufacturing serial number for the IPC printed on a label inside the IPC and visible, listed in the EP3 IPC list next to the IPC name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `address`                      | Radio MAC address in EUI-48 format, all configurations must include this value and an IPC name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `schedule`                     | Identity of the schedule file in the schedules folder for the schedule associated with this IPC.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `channel`                      | Radio channel the IPC operates on. Generally, the same for each IPC on the farm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `x-coordinate`, `y-coordinate` | Post location (X) coordinate created by IPC manager from the GPS location of the post. Used by QIMS software for map views of the system. Can be left blank. Post location (Y) coordinate created by IPC manager from the GPS location of the post. Used by QIMS software for map views of the system. Can be left blank.                                                                                                                                                                                                                                                                                                                         |
| `mode`                         | Operating mode of the radio, one of three options: a) `mesh` – for non-line of site operation over a farm, b) `local` – for short range direct line of site operation, c) `hybrid` – for use with a repeater system on the site. Forces all communications to the specified IPC to be forwarded to specified repeater (see repeater field below) for transmission to the destination IPC.                                                                                                                                                                                                                                                         |
| `repeater`                     | This entry is only present when Hybrid (repeater) mode of operation is used for communicating to IPCs. It signifies the identity of the repeater (indicated by a number) through which the EP3 or INC will route all radio communications to a given IPC. More than one repeater can be used on a site according to the radio network design. See [Repeaters](https://help.qtech.co.nz/water-insight/sprinkler-control/irrigation-point-controller/repeaters.md).                                                                                                                                                                                 |
| `type`                         | Specifies the type of equipment. Valid values include IPC and repeater. This field must be present in the definition of a repeater. If not present in a pod entry the equipment is assumed to be of type IPC. For devices other than the IPC the Type field is added. Supported device types include: Moisture: QTech WSML; Level: Water level meter (QTech ITU); Flow: Water flow meter (QTech ITU). The type value can be one of “Logger” or “Flow” for an ITU1, or “Level” for an ITU2.                                                                                                                                                        |
| `sublateral`                   | This identifies the zone or group to which the IPC belongs. Multiple IPCs can belong to a sublateral but typically only one IPC is scheduled to water at a time in that zone, as part of the system hydraulic design.                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `farmid`                       | New feature added for IPC firmware revisions V5.00 and above. If this entry is present then the EP3 or INC (also running version 5.00 firmware or later) will transmit this value with all radio communications. Only IPCs programmed with a matching farm identifier will participate in radio communications. This enables radio communications to be restricted to a single IPC network when other networks on the same radio channel are nearby. This field is optional because older pre-existing sites on version 3 (V3) IPC firmware did not use a FarmID. Leave this field blank if unsure or if you know your site uses V3 IPC firmware. |

## Schedule files

The schedules are organised as a set of `schedule-x.ini` files with one file for each IPC. Each entry in a schedule file follows this format:

| Entry                | Meaning                                                                                                                                                                                                                                                                                        |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `[header]`           | Record identifier, used to identify the start of the schedule record                                                                                                                                                                                                                           |
| `id`                 | Schedule identifier used to associate a schedule with an IPC                                                                                                                                                                                                                                   |
| `cycle_length`       | Schedules are cyclic, this number represents the modulo number of days in each cycle                                                                                                                                                                                                           |
| `n_times`            | Defines the count of schedule operations in this schedule. Up to 16 operations can be defined.                                                                                                                                                                                                 |
| `CRC`                | The file uses a calculated CRC which can be checked against the CRC of the schedule currently programmed in an IPC. Used to detect if an IPC has its correct schedule programmed.                                                                                                              |
| `[time1]`, `[time2]` | Header identifier for the operations the IPC will perform. `day`: Day of the modulo cycle\_length that the IPC turns on its valve. `start`: Start time of the day that the IPC turns on its valve. `duration`: Duration the valve stays on, when the duration is complete the valve turns off. |
