A surgical instrument comprising: a handle having a controller and a motor, the motor being coupled to a drive shaft; an adapter releasably coupled to the handle, the adapter including an adapter identification device in communication with the controller, the adapter identification device configured to store adapter data and to communicate the adapter data to the controller; a loading unit releasably coupled to the adapter, the loading unit configured to affect tissue in response to a force transmitted by the adapter from the drive shaft, the loading unit including a loading unit identification device in communication with the controller, the loading unit identification device configured to store loading unit data and configured to communicate the loading unit data to the controller, wherein the controller is configured to adjust output of the motor based on at least one of the adapter data or the loading unit data; and characterised in that: wherein the loading unit data includes a total work done during completed firing events by the loading unit, the loading unit includes a plurality of sensors configured to provide data signals indicative of a work done by the loading unit during a firing event, the data signals being used to update the loading unit data, wherein the controller is configured to calculate the total work done during completed firing events of the loading unit and to verify that the total work done during completed firing events is below a predefined total work limit, and wherein the controller is configured to prevent actuation of the loading unit in response to the total work done during completed firing events being equal to or greater than the predefined total work limit. a handle having a controller and a motor, the motor being coupled to a drive shaft; an adapter releasably coupled to the handle, the adapter including an adapter identification device in communication with the controller, the adapter identification device configured to store adapter data and to communicate the adapter data to the controller; a loading unit releasably coupled to the adapter, the loading unit configured to affect tissue in response to a force transmitted by the adapter from the drive shaft, the loading unit including a loading unit identification device in communication with the controller, the loading unit identification device configured to store loading unit data and configured to communicate the loading unit data to the controller, wherein the controller is configured to adjust output of the motor based on at least one of the adapter data or the loading unit data; and characterised in that: wherein the loading unit data includes a total work done during completed firing events by the loading unit, the loading unit includes a plurality of sensors configured to provide data signals indicative of a work done by the loading unit during a firing event, the data signals being used to update the loading unit data, wherein the controller is configured to calculate the total work done during completed firing events of the loading unit and to verify that the total work done during completed firing events is below a predefined total work limit, and wherein the controller is configured to prevent actuation of the loading unit in response to the total work done during completed firing events being equal to or greater than the predefined total work limit. wherein the loading unit data includes a total work done during completed firing events by the loading unit, the loading unit includes a plurality of sensors configured to provide data signals indicative of a work done by the loading unit during a firing event, the data signals being used to update the loading unit data, wherein the controller is configured to calculate the total work done during completed firing events of the loading unit and to verify that the total work done during completed firing events is below a predefined total work limit, and wherein the controller is configured to prevent actuation of the loading unit in response to the total work done during completed firing events being equal to or greater than the predefined total work limit.