wherein an auxiliary conduit (5) selectively connects and disconnects the outlet pump (311) of the first production line (3) to/from an inlet of the mixing and chilling chamber (405) of the second production line (4), so as to be able to process either two flows of confectionery mass mutually independently or a single flow of confectionery mass by means of both production lines (3, 4).