With the increase of the degree of automation, the operation, maintenance and daily maintenance of packaging machines are more convenient and simpler, reducing the professional skills requirements of operators. The quality of product packaging is directly related to the temperature system, the accuracy of the host speed, and the stability of the tracking system. After the machine runs, the film mark sensor continuously detects the film mark (color mark), and at the same time, the mechanical part tracks the micro switch to detect the position of the machine. The above two signals are sent to the PLC. After the program operation, the output of the PLC is Y6 ( (Currently chasing) and Y12 (anti-recovery) control tracking motor forward and backward tracking, timely detection of packaging materials in the production process of error, while providing accurate compensation and correction, to avoid the waste of packaging materials. If the test can not meet the technical requirements after tracking a predetermined number of times, it can be automatically shut down for inspection, to avoid the production of waste products; due to the use of frequency control, greatly reducing the chain drive, improving the stability and reliability of the machine operation, reduced The noise of the machine's operation. It ensures the high efficiency, low loss, automatic detection and other multi-functional, fully automatic high-tech level of the packaging machine. Although the drive system used in automatic packaging machine has relatively simple application functions, it has higher requirements on the dynamic performance of the drive, and the system requires faster dynamic follow-up performance and high steady-speed accuracy.