Automatic cartoning machine has a modern control and visualization system. It facilitates operation and communication with the machine. It is possible to save parameters in the controller memory. By means of a control panel, the operator is able to set packing parameters, i.e. box dimensions, type of packaging (cardboard box, ledge tray), packing velocity, etc. Gluing system is equipped with its own control system and temperature controller. It has energy saving mode. Practically, when the machine is idle, the system counts down the time after which the temperature of crucible and tubes with glue is reduced. The line is equipped with electrical devices and the point-of-operation guards in compliance with the EU standards.