A surgical system comprising: a plurality of modular units, each unit comprising: a motor unit and a surgical mechanical arm actuated by, connected to and supplied with electrosurgical power by said motor unit and a memory configured to store a selected electrosurgical operational mode for each of said plurality of modular units.