The rear of the moonroof can be tilted open to provide more ventilation.
To fully tilt automatically, momentarily press the tilt/slide switch.
To fully close automatically, momentarily press the tilt/slide switch in the forward direction.
To stop tilting partway, press the tilt/slide switch.

Moonroof (Some models)
Slide OperationMazda 6 Owners Manual: No. 1 one or more on-board diagnostic functions inoperative
When performing an asterisked (*) troubleshooting inspection, shake the
wiring harness and connectors while doing the inspection to discover whether
poor contact points are the cause of any intermittent malfunctions. If there
is a problem, check to make sure connectors, terminals and wir ...
Mazda 6 Owners Manual: Variable intake-air system (vis) control solenoid valve inspection (l3)
1. Remove the VIS control solenoid valve. (See INTAKE-AIR SYSTEM
REMOVAL/INSTALLATION.)
2. Inspect airflow between the ports under the following conditions.
If not as specified, replace the VIS control solenoid valve.
If as specified, carry out the Circuit Open/Short Inspection.
Circ ...