A supply device for the operation of at least one medical instrument, in particular an electrosurgical instrument and/or a cryosurgical instrument and/or a water jet surgical instrument. The supply device includes a control unit for the control of the at least one medical instrument and a memory unit for the storage of configuration data which describe a state device with a plurality of states. The control unit is designed such that it reads in configuration data and converts the state device into a control program and controls the at least one medical instrument according to the control program. This ensures efficient control of medical instruments because the control programs used can be more efficiently checked for their correctness and updated accordingly.