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: Oil pressure switch inspection
1. Verify that the oil pressure warning light illuminates when the ignition
switch is at ON position.
2. Verify that the oil pressure warning light goes off when the engine is
started.
If the oil pressure warning light does not illuminate or remains
illuminated, inspect the related wirin ...
Mazda 6 Owners Manual: Immobilizer system reprogram procedure
Note
When an error occurs during the reprogram procedures, except when
the PCM is replaced, repeat the procedure from Step 1. If you still cannot
reprogram, confirm how many keys can start the engine. Then, perform the key
replacement or addition reprogram procedure according to the val ...