A connection cable is disclosed for controlling a voltage-controlled generator such as an electrosurgery generator from a controlling device such as a robotic surgery system. The cable includes a first connector adapted to connect to a voltage-controlled generator and a second connector adapted to connect to a controlling device. Within the cable is a voltage divider interdisposed between the first connector and the second connector. The voltage divider is configured to divide a reference voltage provided by the voltage-controlled generator into at least one control voltage which is selectable by the controlling device. The cable additionally includes a plurality of electrical wires which operatively connect the first connector, the second connector and the voltage divider. During robotic electrosurgery, said operating parameters can be actuated by a surgeon operating at the robotic surgical system console, which causes a corresponding control voltage to be switched to a control voltage input on an electrosurgery generator, which, in turn, generates a corresponding electrosurgical signal in response thereto.