Baler with a switch cabinet - with a main power supply, - with a main switch and - with a safety system with a main key, -- wherein the main key is associated with the main switch and can only be removed when the main switch is switched off, open and the main power supply is thereby switched off, characterized in that at least one secondary key is provided, which can be removed only when the main key is inserted and is required for opening a switch cabinet door, so that a main circuit with the main power supply of the switch cabinet is interrupted before the switch cabinet is opened, and in that an auxiliary circuit with an auxiliary power supply can be switched on via a contact switch provided in the switch cabinet, which auxiliary circuit supplies power to the internal electrics and control electronics of the switch cabinet, wherein the internal electrics and control electronics of the switch cabinet can only be operated alternatively in an operating state with the switch cabinet door closed with the main power supply or in a diagnostic state with the switch cabinet door open with the additional power supply. - with a main power supply, - with a main switch and - with a safety system with a main key, -- wherein the main key is associated with the main switch and can only be removed when the main switch is switched off, open and the main power supply is thereby switched off, characterized in that at least one secondary key is provided, which can be removed only when the main key is inserted and is required for opening a switch cabinet door, so that a main circuit with the main power supply of the switch cabinet is interrupted before the switch cabinet is opened, and in that an auxiliary circuit with an auxiliary power supply can be switched on via a contact switch provided in the switch cabinet, which auxiliary circuit supplies power to the internal electrics and control electronics of the switch cabinet, wherein the internal electrics and control electronics of the switch cabinet can only be operated alternatively in an operating state with the switch cabinet door closed with the main power supply or in a diagnostic state with the switch cabinet door open with the additional power supply. -- wherein the main key is associated with the main switch and can only be removed when the main switch is switched off, open and the main power supply is thereby switched off, characterized in that at least one secondary key is provided, which can be removed only when the main key is inserted and is required for opening a switch cabinet door, so that a main circuit with the main power supply of the switch cabinet is interrupted before the switch cabinet is opened, and in that an auxiliary circuit with an auxiliary power supply can be switched on via a contact switch provided in the switch cabinet, which auxiliary circuit supplies power to the internal electrics and control electronics of the switch cabinet, wherein the internal electrics and control electronics of the switch cabinet can only be operated alternatively in an operating state with the switch cabinet door closed with the main power supply or in a diagnostic state with the switch cabinet door open with the additional power supply.