A plug system for surgical devices includes a plurality of sockets into which connecting plugs of electrosurgical instruments can be inserted, and a switching matrix having a plurality of switches for connecting at least one of the sockets to at least two different outputs or inputs of an electrosurgery device. A control system having a preselection device for controlling the switching matrix is arranged in the plug system. The switching matrix connects predetermined sockets to predetermined inputs or outputs, depending on data input into the preselection device. The control system includes a storage element for storing a basic configuration of a connection between the sockets and the inputs or outputs of the electrosurgery device. The basic configuration is set if no data is entered into the preselection device, and all switches are open in the basic configuration.