Dental unit, which comprises at least one connection for at least one ancillary device, a drive-power and feed system for providing drive power or feed to said at least one ancillary device, and a control system for controlling the drive-power and feed system as well as the at least one ancillary device. For its part, the control system comprises at least one programmed function, which includes at least one predefined control operation directed to at least one ancillary device. In addition, at least one trigger is defined for each programmed function within the control system, in response to which said programmed function is performed. According to the invention, the dental unit comprises configuration means, which are arranged to receive control commands from the user in order to configure at least one programmed function and to configure said at least one programmed function according to control commands received from the user.