Camshaft Position Sensor (CMPS) is a hall sensor and detects the camshaft position by using a hall element.
It is related with Crankshaft Position Sensor (CKPS) and
detects the piston position of each cylinder which the CKPS can't
detect.
The two CMPS are installed engine head cover of bank 1 and 2
(intake, exhaust) respectively and use a target wheel installed on the
camshaft. The Cam Position sensor is a hall-effect type sensor. As the
target wheel passes the Hall sensor, the magnetic field changes in the
sensor. The sensor then switches a signal which creates a square wave.

Other information:
Removal
OCS ECU
1.
Disconnect the battery negative cable, and wait for at least three minutes before beginning work.
2.
Remove the front passenger seat assembly.
(Refer to Body - "Front Seat")
3.
Disconnect the OCS ECU connector.
4.
Remove the OCS ECU.
OCS Mat
1.
Disconnect ...
Components Location
1. Oil seal2. Reaction shaft3. Housing4. Cover5. O-Ring6. Reaction shaft7. Snap ring8. Needle bearing9. 8LR/B return spring10. 8LR/B piston
...