Move the float to the topmost and bottommost positions, and verify that the resistance between terminals A and B of the unit and the position of the float are as indicated in the figure.

Pid/data monitor and record procedure
Oil pressure switch inspectionMazda 6 Service Manual: Inspection of dtcs for condition detection mode
Note
The cruise set indicator light will illuminate for 3 seconds,
when condition detection mode is on.
If the RESUME/ACCEL switch on the cruise control switch is
malfunctioning, the cruise set indicator light will not give a correct
indication when you inspect the system.
1. Drive ...
Mazda 6 Service Manual: Moonroof (Some models)
The moonroof can be opened or closed electrically only when the ignition is switched
ON.
WARNING
Do not let passengers stand up or extend part of the body through the open
moonroof while the vehicle is moving: Extending the head, arms, or other parts
of the body through the moonroof is dan ...