Abstract:This paper states a new kind of device,which detects the flaw on the edge of chain element's slice on assembly line.Light source is He Ne laser.It uses CCD to accept the signal of flaw.Then it uses the chip microprocessor to process the signal.