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/InstallationDSC HU/CM
Outline
A high reliability, reduced size and weight DSC HU/CM, integrating both the
DSC HU and the DSC CM, has been adopted.
DSC HU Part Purpose/Function
According to DSC CM signals, the DSC HU controls (on/off) each solenoid valve
and the pump motor, adjusts fluid pr ...
Electric Variable Valve Timing Control
Outline
The PCM determines the optimum intake valve timing according to the engine
operation conditions, and sends the motor drive signals to the electric variable
valve timing driver. With the adoption of the electric drive system, variable
intake valve timing can be controlled with ...
Sae Standards
In accordance with new regulations, SAE (Society of Automotive Engineers)
standard names and abbreviations are now used in this manual. The table below
lists the names and abbreviations that have been used in Mazda manuals up to
now and their SAE equivalents.
...