Before we do the selection and application of sensors, we should first understand the size, color, detection distance, material and so on of the detected object, and then select the appropriate detection mode and brightness according to the information collected. In the case, the detected object is a strong reflective material, while the optical fiber amplifier FM-E31 acquiescent the factory state of the light intensity is also higher. When the optical fiber amplifier is connected to the optical fiber to detected the object without the light adjusted, then feedback the value of the brightness has reached the maximum value, and the value can not be recovery and adjustment, so there are 1-2 missing cases in the application process, resulting in inaccurate detection.