Choose your mode
Choose your mode
The Wash API runs in one mode at a time. That mode is set when the service starts.
/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:
- Did the site tell you it’s Cruz / MCWW hardware? → use mcww
- Did they say Washlink / EC? → use washlink
- Still unsure? Call Get Controller Version:
- MCWW returns a series like
C4/C5000/C7000and a version number - Washlink returns
controller_series: WASHLINKandversion_number: null
- MCWW returns a series like
Pick a tab and stick to it
I have MCWW / Cruz
I have Washlink
What you need in .env
CONTROLLER_TYPE=mcwwCLIENT_IP=the PLC’s IP (not your laptop)- Optional wash map: exactly one of
WASH_MAPorWASH_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
(BaseWash_min/max, Upsell_min/max, Override_min/max).
Typical ballpark: BaseWash / Upsell 1–16; Override often 2–9 on C4 (series-dependent).
What you need in .env
CONTROLLER_TYPE=washlinkCLIENT_IP=the Washlink PLC IPREVERSE_WASH_MAPfor 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 /ConveyorOnPOST /ConveyorOffPOST /ConveyorAuto
Use Conveyor Request instead. On Washlink, stop with Pause Tunnel.
Next: Send your first wash.
