Transforms the papermaking production line to spurt the code automatic detection separation system is the production of impending rapid requirement. This design using the original paper cutter to cut the paper separating function is bad, choose the trigger for separating door action by photoelectric sensor signal, triggering bad signal detection equipments, and complete code identification papers in the test paper separating bad logo. In printing, the PLC control high-speed counter acquisition traction, printing roll encoder pulse signal range. This system includes color standard sensor signal detection, Siemens S7-200 PLC controller, etc. Also gives the system installation problems and presents the corresponding countermeasures. The paper realize online automatic testing equipments, satisfying the function of separation, stable, zero leakage rate of selected control of the production requirement.