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

2. Perform KOEO/KOER self-test.
After repair procedureMazda 6 Service Manual: Power Moonroof Reset Procedure
If the battery is disconnected, the moonroof will not operate. The moonroof will
not operate correctly until it is reset.
Carry out the following procedure to reset the moonroof and resume operation:
1. Switch the ignition ON.
2. Press the tilt switch, to partially tilt open the rear of the moo ...
Mazda 6 Service Manual: Transmitter battery replacement
1. Insert a small screwdriver into the slot and gently pry open the
transmitter.
2. Press the portion of the battery indicated by A and remove the battery.
3. Install a new battery (CR2025) into the front portion of the holder with
the positive pole (+) facing up. Press on the B portion of ...