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: Camshaft position (cmp) sensor inspection
Caution
When foreign material such as an iron chip is on the CMP sensor,
it can cause abnormal output from the sensor because of flux turbulence and
adversely affect the engine control. Be sure there is no foreign material on
the CMP sensor when replacing.
Note
Perform the follow ...
Mazda 6 Service Manual: Cylinder head gasket
CYLINDER HEAD GASKET REPLACEMENT
Warning
Fuel vapor is hazardous. It can very easily ignite, causing
serious injury and damage. Always keep sparks and flames away from fuel.
Fuel line spills and leakage are dangerous. Fuel can ignite and
cause serious injuries or death and damage. Fuel ...