1. Disconnect the negative battery cable.
2. Remove the washer tank. (See WASHER TANK REMOVAL/INSTALLATION)
3. Connect battery positive voltage to the terminal B and ground to the terminal A of the motor.
4. Verify that the rear washer motor operates.

Rear washer motor removal/installation
Rear wiper motor removal/installationMazda 6 Service Manual: Instrument cluster configuration
1. Connect the SST (WDS or equivalent) to the DLC-2.
2. Input vehicle information following the directions on the screen.
3. Select Module programming.
4. Select Programmable module installation.
5. Select the following items and perform procedures according to directions
on the screen.
...
Mazda 6 Service Manual: Radar Sensor (Front) (Some models)
Your vehicle is equipped with a radar sensor (front).
The following systems also use the radar sensor (front).
Distance Recognition Support System (DRSS)
Mazda Radar Cruise Control (MRCC)
Smart Brake Support (SBS)
The radar sensor (front) functions by detecting the radio waves reflected ...