A surgical instrument (10) for acting on tissue. The surgical instrument comprises at least one processor (3706), at least one motor (530) in communication with the processor and at least one actuation device (840). The processor is programmed to receive from a removable implement portion (3554, 3556, 3558) a first variable (3801) describing the removable implement. The processor is also programmed to apply the first variable to an instrument control algorithm (3802). Further, the processor is programmed to receive an input control signal (3818) from the actuation device and control the at least one motor to operate the surgical instrument in conjunction with the removable implement in accordance with the instrument control algorithm considering the input control signal.