A surgical device for the treatment of biological tissue has a surgical instrument with at least one HF electrode and an HF surgical unit with an HF generator for generating an HF voltage and supplying an HF current to the HF electrode, and a control device for open-loop or closed-loop control of the HF generator. The surgical instrument has a movement detection device to detect a movement sequence of the surgical instrument and the HF surgical unit has an evaluation device for evaluating a movement sequence detected by the detection device. The movement detection device and the evaluation device are connected to each other, movement sequences of the surgical instrument detected by the detection device can be transmitted to the evaluation device, and the HF surgical unit is configurable by an evaluation of the movement sequences of the surgical instrument by the evaluation device.