> 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/handheld-tools/ep3-programmer/new-ipc.md).

# Set a new or replacement IPC to work

For installers. Set a new IPC to work with the EP3, change an IPC's radio channel, program its Farm-ID, and swap a faulty IPC in the podlist.

Set the radio channel first (if it needs it), then farmid, then issue a timeset and the schedule. This page covers each step, and how to swap a faulty IPC for a new one on the EP3.

{% hint style="info" %}
**Applies to:** installers using an EP3 where the site is using V5.xx IPC firmware and EP3 firmware or later. On an IMS site, the Deploy function in IMS or IMS-Connect sets the channel and FarmID automatically. See [Add IPCs and set them to work](https://help.qtech.co.nz/water-insight/ims-and-gateways/ims/add-ipcs.md).
{% endhint %}

## Quick checklist for a new IPC

1. Identify the Farm ID for the site. If you do not know the FarmID look in the pod configuration file or contact Water-Insight. Identify the IPC serial number printed inside the unit.
2. Add an entry into the pod configuration file for the IPC (which includes the FarmID), add the schedule files. Store these on the SD Card. These files can also be automatically generated by scheduling software such as QTech IPC Manager or RXP pod scheduler. You must also have the IPC radio MAC address on hand to create the configuration entry. Contact Water-Insight if you need assistance generating the configuration file or schedules.
3. Set the date and time on the EP3 to the current time, from the main menu select **Settings** > **Time**. Adjust each value as required then tap **Back**. Do not send the time as this will broadcast the time to all devices.
4. Load the pod list and schedule files into the EP3. This and the previous steps can be done before going to the site.
5. If the FarmID is not yet programmed into the device select and check the option **Settings** > **Comms** > **Use broadcast header**.
6. From the main menu Select **IPC List** and jump to the serial number of the IPC.
7. Select **View** > **Comms**.
8. Select local mode of communications. Make sure you are nearby the IPC.
9. Select the **FarmID** option, tap **Send** to programme the Farm ID.
10. Select the **Timeset** option, tap **Send** to update the time in the IPC.
11. Select the **Schedule** option, tap **Send** to issue the schedules to the IPC.
12. Select the **Manual** option and tick the **on** checkbox, tap **send** to turn on the sprinkler valve, water should flow if the system has water pressure in the lines.
13. Select the **Manual** option and tick the **off** checkbox, tap **send** to turn off the sprinkler valve, water should stop flowing if the system has water pressure in the lines. Note that line pressure in the hydraulic may be necessary for some valves to operate correctly.
14. Deselect the **Use Broadcast header** option in Settings once the unit's FarmID has been programmed.

## Change an IPC's radio channel

The IPC will usually be supplied with a pre-defined radio channel allocation made by Water-Insight. It is usually only changed in special circumstances if for example the IPC is purchased from a reseller and destined for a farm operating on a different radio channel. Consult Water-Insight support before changing the radio channel. For the channels, see [900MHz ISM band channels](https://help.qtech.co.nz/datran/datran-telemetry/planning-and-design/900-mhz-ism-band-channels.md).

In this example the IPC will be reconfigured to use channel 5 instead of channel 3:

1. The channel that the EP3 uses to communicate with each IPC is specified by values in the IPC configuration file. These values are controlled by a setting in the IPC Scheduling application, so an IPC configuration file needs to be generated with channel 5 specified. This can also be achieved by editing the IPC configuration file (e.g. pod-config.ini).
2. The IPC configuration is copied to the SD card and loaded into the EP3 memory.
3. The reprogramming channel must be specified in the Comms Settings screen (main menu > **settings** > **comms**). This value specifies the channel that the EP3 will use to reconfigure the IPC. In this case the value should be 3 (that is the channel the IPC is currently on).
4. Select the specific IPC that you want to reconfigure from the **IPC List** and go to the **Comms** screen. You will find that if you send a status request to that IPC the communications will fail because the IPC List channel value does not match the actual channel that the IPC device is using.
5. From the **Comms** screen select the **Channel** button, select **Local** and press **Send**.
6. This will make the EP3 send a message to the IPC over channel 3, telling it that from now on it should use channel 5 instead. The EP3 should display that the message was sent successfully.
7. You should now be able to request the status of the IPC, as the device will now be using the same channel as specified in the IPC List.

If the operating radio channel number for an IPC is not known and communications cannot be established, possibly because the IPC configuration file lists the incorrect radio channel, then the IPC radio channel can be discovered by selecting the checkbox for **Scan channels**. Sending a status message request to the IPC will then attempt to transmit on each channel sequentially until a response is received. See [Spectrum analyser and comms settings](https://help.qtech.co.nz/water-insight/handheld-tools/ep3-programmer/spectrum-analyser.md).

## Program the Farm-ID

The status message reports the value of the current FarmID as one of "none", "01:01" or "NN:NN".

1. The IPC configuration file must have an entry for each IPC which defines the FarmID. If the Farm does not have a FarmID defined for the block of IPCs in use then apply to Water-Insight support to be allocated an ID for the block.
2. If the FarmID is not yet programmed into the device select and check the option **Settings** > **Comms** > **Use broadcast header**.
3. If the status message reports none or 01:01 as the FarmID then from the IPC details screen tap **Comms**, select local mode of communications, then select the **FarmID** checkbox then tap **Send**. This will set the ID in the IPC correctly.

If the FarmID message fails to send make sure that the IPC is set to the correct radio channel, reconfigure the channel if necessary.

## Replace a faulty IPC in the podlist

An EP3 can only communicate with IPCs that have been configured in the podlist that has been loaded to the EP3. To replace an IPC find the IPC in the IPC list to be replaced, modify its serial number and MAC address then save the new entry onto the SD Card. The serial number is always printed on a label on a large metal capacitor inside the IPC and visible from the rear of the device. The MAC Address is printed on a label attached to the IPC or its mounting plate for new devices. If the label is not present contact Water-Insight to obtain the radio address.

1. From the Main menu tap **IPC List**. Locate the IPC to replace either by scrolling the list or by jumping to the IPC serial number. Tap **view** to display the IPC details.
2. To change the serial number tap the serial number on the screen and a keyboard will pop up and enable a new serial number to be entered.
3. To change the radio MAC address tap the address and a keyboard will pop up. Enter the new mac address (the screen will automatically insert the ":" separators). Then press **enter**.
4. The IPC entry in the IPC list will be updated to show the new values. The device can now be communicated with to return the status.
5. However, if the IPC is new it may not have the correct FarmID or radio channel so change the radio channel first (if necessary, scanning the channels if the replacement device radio channel is unknown).
6. Once the radio channel is correct program the FarmID.
7. Having verified communications save the IPC list to a new configuration file. From the Main Menu tap **IPC Files** then tap **Save**. Tap **Back** to go up a level then back into the **IPC Files** to refresh the file list. A new configuration file will be displayed. This is the configuration file that will be loaded in future. The user can rename the files on a PC if desired.

On an IMS site, even if you replace an IPC in the field you should update IMS with information regarding replacement units once you are back at your PC, because IMS is always maintained as the true representation of what is installed on the site. See [Spares and replacing an IPC](https://help.qtech.co.nz/water-insight/ims-and-gateways/ims/spares.md).
