Motor
1. Remove the sunroof motor.
2. Apply battery positive voltage to the sunroof motor terminals and inspect the operation of the sunroof motor.


Limit Switch
1. Remove the headliner. (See HEADLINER REMOVAL/INSTALLATION.)
2. Verify the glass panel position.
3. Disconnect the connector.
4. Inspect for continuity between the sunroof motor terminals using an ohmmeter.


Sunroof motor installation
Sunroof relay inspectionMazda 6 Service Manual: Foreword
When the customer reports a vehicle malfunction, check the malfunction
indicator lamp (MIL) indication and diagnostic trouble code (DTC), then
diagnose the malfunction according to following flowchart.
- If a DTC exists, diagnose the applicable DTC inspection. (See DTC
TABLE.)
- ...
Mazda 6 Service Manual: Rear door lock actuator inspection
Door Lock Actuator
1. Disconnect the front door lock actuator connector.
2. Apply battery positive voltage to the front door lock actuator terminals
and inspect the operation of the front door lock actuator.
If not as specified, replace the front door lock actuator.
With double locking ...