> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api.cruzcontrol.app/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.cruzcontrol.app/_mcp/server.

# Choose your mode

> MCWW or Washlink — pick the right CONTROLLER_TYPE before you send washes.

# Choose your mode

The Wash API runs in **one mode at a time**. That mode is set when the service starts.

| Mode            | Env value                  | Controller type                             |
| --------------- | -------------------------- | ------------------------------------------- |
| **MCWW / Cruz** | `CONTROLLER_TYPE=mcww`     | Modbus TCP controllers (C1+, C4+, C5+, C7+) |
| **Washlink**    | `CONTROLLER_TYPE=washlink` | Washlink ECv5 (`ECv5.0.17.6+`)              |

> **Same URL, different behavior**
>
> `/sendWash` exists in both modes, but the rules are **not** identical.\
> If something “works on MCWW docs” and fails on Washlink (or the reverse), check the mode first.

## Which one do I have?

Ask yourself:

1. Did the site tell you it’s **Cruz / MCWW** hardware? → use **mcww**
2. Did they say **Washlink / EC**? → use **washlink**
3. Still unsure? Call [Get Controller Version](https://api.cruzcontrol.app/wash-api/wash-api/connection/get-controller-version):
   * MCWW returns a series like `C4` / `C5000` / `C7000` and a version number
   * Washlink returns `controller_series: WASHLINK` and `version_number: null`

## Pick a tab and stick to it

#### I have MCWW / Cruz

### What you need in `.env`

* `CONTROLLER_TYPE=mcww`
* `CLIENT_IP=` the PLC’s IP (not your laptop)
* Optional wash map: **exactly one** of `WASH_MAP` or `WASH_MAP_CONTROLLER_TO_POS` (or leave both empty / `{}` for direct codes)

### What you can call

Almost everything in the API Reference, including:

* Vehicle status (`/VehicleStart`, `/VehicleStatus`, …)
* Grand Entrance Arch lights
* Stall on/off
* Output sync / asset map

### Wash number ranges

Confirm live ranges with [Get Controller Version](https://api.cruzcontrol.app/wash-api/wash-api/connection/get-controller-version)\
(`BaseWash_min/max`, `Upsell_min/max`, `Override_min/max`).

Typical ballpark: BaseWash / Upsell **1–16**; Override often **2–9** on C4 (series-dependent).

#### I have Washlink

### What you need in `.env`

* `CONTROLLER_TYPE=washlink`
* `CLIENT_IP=` the Washlink PLC IP
* `REVERSE_WASH_MAP` for POS↔option translation (required for mapped sites)

### What you can call

Shared tunnel/wash endpoints, for example:

* `/sendWash`, `/GetWashCounts`
* `/PauseTunnel`, `/RestartTunnel`, `/ConveyorRequest`
* `/HotDollyOn` (On only — Off is not supported)

### What you cannot call

MCWW-only paths return **404**, including vehicle photo-eyes, Grand Entrance Arch, stall, and asset map.

### Wash number ranges

* BaseWash: **1–20**
* UpsellList / OverrideList: **1–10**

Stacker mode must be enabled on the Washlink side, or `/sendWash` returns **500**.

## Don’t use these anymore

These old conveyor endpoints always fail on purpose (JSON **500** `DEPRECATED`):

* `POST /ConveyorOn`
* `POST /ConveyorOff`
* `POST /ConveyorAuto`

Use [Conveyor Request](https://api.cruzcontrol.app/wash-api/wash-api/tunnel-control/send-conveyor-request) instead. On Washlink, stop with [Pause Tunnel](https://api.cruzcontrol.app/wash-api/wash-api/tunnel-control/send-pause-tunnel).

---

Next: [Send your first wash](/send-your-first-wash).