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: Locking, Unlocking with Auxiliary Key
Turn the auxiliary key toward the front to lock, toward the back to unlock.
To lock
All doors lock automatically when the driver's door is locked using the auxiliary
key.
To unlock
The driver’s door unlocks when the auxiliary key is turned briefly to the unlock
position and then immediatel ...
Mazda 6 Service Manual: Sunroof motor inspection
Motor
1. Remove the sunroof motor.
2. Apply battery positive voltage to the sunroof motor terminals and inspect
the operation of the sunroof motor.
If not as specified, replace the sunroof motor.
Limit Switch
1. Remove the headliner. (See HEADLINER REMOVAL/INSTALLATION.)
2. Verify t ...