1. Disconnect the negative battery cable..
2. Remove the front map light..
3. Verify that the continuity between the sunroof switch terminals is as indicated in the table.

If not as indicated in the table, replace the sunroof switch.

Sunroof Switch Removal/InstallationHeater, Ventilation And Air Conditioning
Abbreviation
AAS
Active Adaptive Shift
ABS
Antilock Brake System
ABDC
After Bottom Dead Center
ACC
Accessories
AFS
Adaptive Front Lighting System
...
Instrument Cluster Operation Record
Purpose
The instrument cluster operation record stores the record of the illumination
or flashing of the warning light.
Function
The operation record is stored by the instrument cluster and displayed using
the Mazda Modular Diagnostic System (M-MDS).
The instrument ...
Intake Air System Removal/Installation
WARNING:
A hot engine and intake air system can cause severe burns. Turn off the engine
and wait until they are cool before removing the intake air system.
1. Disconnect the negative battery cable..
2. Remove in the order indicated in the table.
3. Install in the reverse order o ...