1. Connect WDS or equivalent to the vehicle DLC-2 16-pin connector located as shown in the figure.

2. Turn the ignition key from OFF to ON.
3. Record DTC if retrieved.
4. Erase all diagnostic data by WDS or equivalent.
Koeo/koer self-test
Dtc tableMazda 6 Service Manual: Inboard combination light removal/installation
1. Disconnect the negative battery cable.
2. Remove the trunk lid trim (liftgate lower trim). (See TRUNK LID TRIM
REMOVAL/INSTALLATION) (See LIFTGATE LOWER TRIM REMOVAL/INSTALLATION)
3. Remove in the order indicated in the table.
4. Install in the reverse order of removal.
Inboard Combinat ...
Mazda 6 Service Manual: Generator removal/installation
Warning
When the battery cables are connected, touching the vehicle body with
generator terminal B will generate sparks. This can cause personal injury, fire,
and damage to the electrical components. Always disconnect the battery negative
cables before performing the following operation.
...