The multifunctional fully automatic Cartoning Machine adopts a series of precise mechanical transmissions and the combination of optical fiber, electricity, and gas to complete the processes of inspection, feeding, material sorting, box feeding, opening, box packing, inspection, sealing, shaping, waste removal, and finished product output. Suitable for automatic box sealing and packaging of pharmaceuticals, food, cosmetics, hardware, daily necessities, etc., with a wide range of uses.