The working principle of a flying laser marking machine mainly involves the laser generator generating a laser beam, which is focused to an appropriate depth through the adjustment of a lens or collimator, and then the desired mark is engraved on the surface of the processed object. This equipment is particularly suitable for online coding and marking on the surfaces of various products or packaging materials, especially for real-time marking during the flow of workpieces on the production line, greatly improving production efficiency and meeting the requirements of industrial production.