The photoelectric sensor is a kind of sensor that depending on induces the light intensity that influenced by the exterior object to achieve output transforms, it may the non-contact type induces, the sensor range is far, the reaction rate is quick, safe, reliable and the service life is long. It is an effective tool that be used for detecting, counting and security protection.