A robotic system includes an electrosurgical generator; an electrosurgical instrument including an electrosurgical connector; and a robotic arm having an instrument drive unit coupled to the electrosurgical instrument. The instrument drive unit includes a drive unit housing having: an electrosurgical receptacle coupled to the electrosurgical generator and configured to engage the electrosurgical connector; an activation link configured to engage the electrosurgical connector; and a detection switch actuatable by the actuation link upon being engaged by the electrosurgical connector.L'invention concerne un système robotisé comprenant un générateur électrochirurgical ; un instrument électrochirurgical comprenant un connecteur électrochirurgical ; et un bras robotisé ayant une unité d'entraînement d'instrument couplée à l'instrument électrochirurgical. L'unité d'entraînement d'instrument comprend un boîtier d'unité d'entraînement ayant : un réceptacle électrochirurgical couplé au générateur électrochirurgical et configuré pour venir en prise avec le connecteur électrochirurgical ; une liaison d'actionnement configurée pour venir en prise avec le connecteur électrochirurgical ; et un commutateur de détection actionnable par la liaison d'actionnement lorsqu'il est mis en prise par le connecteur électrochirurgical.