> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexwash.com/llms.txt
> Use this file to discover all available pages before exploring further.

# In-Bay Automatics

> Sell and send in-bay automatic washes from FlexWash, with the next car held until the bay is ready. Works with any controller that has package inputs and a Wash Ready or Wash In Use signal.

FlexWash starts washes on an in-bay automatic (IBA) and holds the next car until the bay is ready. A [Moxa ioLogik E1214](https://www.moxa.com/en/products/industrial-edge-connectivity/controllers-and-ios/universal-controllers-and-i-os/iologik-e1200-series/iologik-e1214) sits between FlexWash and the wash controller. FlexWash supplies and configures the unit.

> [!WARNING]
>
> Only a licensed electrician should do this wiring. Incorrect wiring can damage equipment or cause injury or death. Read the manuals from the wash controller manufacturer and from Moxa before you start.

## How FlexWash Runs an In-Bay Automatic

![How FlexWash runs an in-bay automatic](https://mintcdn.com/flexwash/O2zLJyLMfyERQY-z/technical/controllers/in-bay-automatics/overview.png?fit=max\&auto=format\&n=O2zLJyLMfyERQY-z\&q=85\&s=faa8d5dd91b46143ab3f3d67b6efdc9c)

## Requirements

Your wash controller needs:

* **A package start input** for each wash package that FlexWash sends. FlexWash starts a package by closing a relay contact across that input, like a pressed button.
* **A Wash Ready or Wash In Use signal** that tells FlexWash when the bay is washing and when it is ready to accept a wash. This signal is required. Without it, FlexWash cannot hold the next car.

Most controllers have both. Check the controller's wiring diagram for terminals named like "wash in use", "bay busy", "vehicle in bay", or "ready".

### Responsibilities

| FlexWash | You and your electrician |
| :- | :- |
| Supplies and configures the ioLogik E1214 | Find the package inputs, input common, and status output on the controller |
| Connects the ioLogik to the FlexWash network | Measure the status output and supply the external relay |
| Configures your packages, relays, and status input in FlexWash | Supply power, enclosures, conduit, fusing, and all wiring, including the wiring to the ioLogik terminals |
| Tests every package and the queue with you before go-live | Commission and maintain the wash controller |

> [!NOTE]
>
> FlexWash supports the ioLogik interface described on this page. We do not design, install, troubleshoot, or support the wash controller.

> [!WARNING]
>
> Use the ioLogik for the wash controller integration only. Do not wire gates, stoplights, or any other equipment to it. `DI0` is reserved for the Wash Ready or Wash In Use signal.

## Wash Start Wiring

![Wash start wiring](https://mintcdn.com/flexwash/O2zLJyLMfyERQY-z/technical/controllers/in-bay-automatics/wash-start-wiring.png?fit=max\&auto=format\&n=O2zLJyLMfyERQY-z\&q=85\&s=11d76894524a56801bd678809fb4ac37)

* Wire each package start input to the NO terminal of one relay. The first package uses `R0_NO`.
* Wire the controller's input common to the C terminal of each relay you use. Link the C terminals with short jumper wires.
* The E1214 has six relays, `R0` to `R5`. Packages, retracts, and an optional finish command share them.

FlexWash closes the relay for 1.5 seconds to start the package.

To test the controller before you connect the ioLogik, short a package input to the common by hand. The bay should start that package.

## Wash Ready or Wash In Use Wiring

Always connect the status output through an external relay. The relay contact goes to `DI0`, which is reserved for it. The ioLogik digital inputs accept a dry (voltage-free) contact only. Never put voltage on a digital input.

![Wash Ready or Wash In Use wiring through an external relay](https://mintcdn.com/flexwash/O2zLJyLMfyERQY-z/technical/controllers/in-bay-automatics/busy-signal-wiring.png?fit=max\&auto=format\&n=O2zLJyLMfyERQY-z\&q=85\&s=c952e531755a7a2d28c601d3c40a17b5)

Wire the external relay:

1. Wire the controller's status output to the relay coil.
2. Wire the relay `COM` and `NO` terminals to the ioLogik `GND` and `DI0`.

### External Relay

We recommend a plug-in "ice cube" relay on a matching 8-pin socket:

* **Coil voltage that matches the status output.** Measure the output with a multimeter during a wash first: AC or DC, and how many volts. For example, a 24 VDC output needs a 24 VDC coil.
* **2-pole (DPDT), 8-pin**, the common MY2N style. One set of contacts goes to the ioLogik.
* **LED indicator**, so you can see when the coil is on.
* **Screw-terminal socket**, DIN-rail mounted.

Socket terminal numbers vary by brand. Use the diagram printed on the relay and socket to find the coil, `COM`, and `NO` terminals.

Before you connect the ioLogik, power off and check the relay with a multimeter on continuity:

* Coil terminal to `COM`: no continuity. The coil and the contact must be isolated.
* `COM` to `NO`: no continuity with the coil off, continuity with the coil on.

### Wash Ready or Wash In Use Signal

Your controller tells FlexWash when the bay is ready in one of two ways. Both work. FlexWash matches the **Ready For Next Wash Input Inverted** setting to the signal your controller uses.

![A Wash Ready signal compared with a Wash In Use signal](https://mintcdn.com/flexwash/O2zLJyLMfyERQY-z/technical/controllers/in-bay-automatics/signal-types.png?fit=max\&auto=format\&n=O2zLJyLMfyERQY-z\&q=85\&s=e6e51121581ea221ea019f772d3f40aa)

| Your controller's signal | Ready For Next Wash Input Inverted |
| :- | :- |
| Wash Ready (on when the bay is ready to accept a wash) | Off |
| Wash In Use (on when the bay is washing) | On |

> [!TIP]
>
> If your controller has a **Wash Ready** signal, use it. If the controller loses power, FlexWash waits instead of sending a car to a bay that is not running.

## How the Queue Works

![How the queue moves](https://mintcdn.com/flexwash/O2zLJyLMfyERQY-z/technical/controllers/in-bay-automatics/queue.png?fit=max\&auto=format\&n=O2zLJyLMfyERQY-z\&q=85\&s=2e4f8aa8794f06ff59c3d11802c97614)

In-bay automatics run on [Auto-Queue](https://docs.flexwash.com/operations/transactions/auto-queue.md): FlexWash sends each car to the bay on its own, with no one pressing Send. FlexWash sets the IBA lane to **Unattended** in [Lane Config](https://docs.flexwash.com/configuration/users-and-admin/car-wash-config.md#lane-config), which turns Auto-Queue on. A [tunnel tablet](https://docs.flexwash.com/getting-started/equipment-installation/tunnel-tablet.md) is optional. Staff can use it to see the queue and step in when needed, for example to remove a car or send a wash by hand.

1. FlexWash sends the next car only when the bay is ready to accept a wash.
2. FlexWash pulses the package relay. A package with more than one relay fires them 0.5 seconds apart.
3. The next car waits until the bay is washing, then ready again.

> [!NOTE]
>
> * If the bay never shows it is washing after a send, the queue waits until the bay signals or staff step in.
> * Staff can still send a wash by hand from a tunnel tablet. A manual send does not wait for the bay to be ready.

## Before Go-Live

* Status output measured during a wash: AC or DC, and voltage
* External relay coil matches the status output, and only its contact goes to the ioLogik
* Continuity checks on the relay pass
* Each relay starts the right package
* The ioLogik input changes when the wash starts and when it finishes
* IBA lane set to **Unattended** in Lane Config
* Two cars queued: the second waits until the first wash is done

## Troubleshooting

| Symptom | Likely cause | What to check |
| :- | :- | :- |
| The next car is never sent | The signal never changes, or **Ready For Next Wash Input Inverted** does not match the signal | Check the input changes when the wash starts and finishes. Check **Ready For Next Wash Input Inverted** with FlexWash support |
| The next car is sent while the bay is still washing | FlexWash reads the bay as ready during the wash | Check the external relay coil voltage and the `COM` and `NO` wiring. Check **Ready For Next Wash Input Inverted** with FlexWash support |
| FlexWash sends a wash, but the bay does not start. The controller display, arch, or menu board shows no wash | Loose wire, or a wash controller setting | Tighten the `NO` and `C` terminals and tug test the wires. Disconnect the wires from the ioLogik and short the package input to the common by hand. If the bay starts, contact FlexWash support. If it does not, check the wash controller |
| The bay runs a different package than the one sold | The package input is wired to the wrong relay, or the relay numbers in FlexWash do not match the wiring | Compare the package on the controller display, arch, or menu board with the package sold. Check which relay each package input is wired to, and tell FlexWash support |
| FlexWash never sees the wash start or finish | No voltage on the external relay coil, or the coil voltage does not match the signal | Measure the signal during a wash. Check the coil polarity on DC relays |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.