The magnetic core inside the proximity switch changes the internal oscillation circuit by being close to the metal, and then outputs a signal. It is suitable for detecting metal objects at a relatively close distance.
The photoelectric switch emits a light beam to the surface of the object, and then bounces back to the receiving end of the switch. The receiving end receives the optical signal and converts it into an electrical signal to form an output. Suitable for detecting objects at a long distance.

