The invention relates to a plant for the production of optionally decorated confectionery from at least one liquid to viscous starting mass, said plant comprising a dosing unit, for the dosed introduction of mass to a dosing location, a positioning means, for carrying out a relative positioning between the dosing unit and the dosing position and a transport means for the removal of the dosed masses in the dosing location. According to the invention, the plant further comprises a data processing system with input means, display means and a memory, a comparator, a method parameter calculating means which designates process parameters of the production method and/or machine parameters of the plant according to a given calculated schema, for the product parameters inputted via the input means and a control system comprising actuators.