SL/R230: Crankshaft position sensor- CPS
If you are using a quality CPS, there may be another issues, such as a wiring problem or even a warped bell housing or flywheel. As you already know from replacing it, the CPS sits in the bell housing. It's positioned just above the flywheel (a.k.a. flex plate). The outer rim of the flywheel has "shutters" that the CPS's magnetic field detects as pulses, plus one longer shutter to determine TDC. If the flywheel is bent, that can interfere with the CPS's detection. If the bell housing is warped so that the CPS moves away from the flywheel, it can fail to get a signal. Another thing that can happen is that the magnetic end of the CPS can collect metallic debris, dirt or oil that can interfere with its operation. Any of these things means you have a mechanical problem that needs attention.
One final possibility is that there is a problem with the CPS seating into the bell housing so hat it does not protrude deep enough to make a proper reading of the flywheel shutters. This could be caused by improper installation, a poor quality CPS housing, or a bell housing deformation.


