To fully open automatically, momentarily press the tilt/slide switch in the backward direction.
To fully close automatically, momentarily press the tilt/slide switch in the forward direction.
To stop sliding partway, press the tilt/slide switch.

Tilt Operation
Power Moonroof Reset ProcedureMazda 6 Owners Manual: Climate control unit disassembly/assembly
1. Disassemble in the order indicated in the table.
2. Assemble in the reverse order of disassembly.
Wire Disassembly Note
Disassemble the wires in the shown in the figure.
Wire Assembly Note
Assemble the wires to the position as shown in the figure.
...
Mazda 6 Owners Manual: Dtc c1095, c1096
Caution
When attaching the tester lead to the DSC HU/CM connector the SST
(49 G066 004) must be used.
Diagnostic procedure
...