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/InstallationCustomer Assistance (Canada)
Satisfaction Review Process
Your complete and permanent satisfaction is of primary concern to Mazda. All
Authorized Mazda Dealers have both the knowledge and tools to keep your Mazda in
top condition. In our experience, any questions, problems, or complaints regarding
the operation of your Ma ...
Accelerator Pedal, Kickdown Switch [Skyactiv G 2.0]
Purpose, Function
The driver's intentions are transmitted to the PCM via the accelerator pedal.
Kickdown switch (ATX) (Applied VIN (assumed): JM3 KE2*E*D# 148107?)
If the accelerator pedal is depressed carelessly, kickdown control will be
implemented based on the accelera ...
Active Command Modes Inspection [Blind Spot Monitoring (Bsm)]
1. Connect the M-MDS to the DLC-2.
2. After the vehicle is identified, select the following items from the initialization
screen of the M-MDS.
a. Select “DataLogger”.
b. Select “Modules”.
c. Select “BSML” or “BSMR”.
3. Select the simulation items from the PID table.
4. ...