This production line is automatic positioning system is undoubtedly in the laser marking machine to the next level of technology, and the technology is in a semi-automatic laser marking machine based on the successful development of a laser marking production line automatic positioning system, which in LabVIEW virtual software and plug-ins for development platform NIVision to IPC as control theme, microcontroller programming control center to integrate IPC and lasers, stepper motors, sensors and other controllable visual hardware resources, the use of hardware and software standardization, integration modular design, build product testing and marking system, testing, marking and other processes of integration, process-oriented operations. And have perfect protection alarm functions and a certain degree of error from the processing functions, with a high degree of automation, high production efficiency, using a wide range of other performance advantages. The system for small and medium-power laser marking production lines for automatic positioning function provides a set of feasible solutions. Combined with laser marking technology and image recognition technology, by stepper motor control system to achieve the production process marking jump from semi-automatic to fully automatic.