A surgical instrument attachment configured to be attached to and detached from a surgical robot, wherein said surgical instrument attachment comprises: an end effector, comprising: a staple cartridge comprising a plurality of staples removably stored therein; an anvil; a first jaw; and a second jaw movable relative to said first jaw; a shaft assembly, comprising: a frame; a distal end, wherein said end effector extends from said distal end; a closure member configured to move said second jaw relative to said first jaw; and a firing member configured to eject said staples from said staple cartridge; a closure drive system configured to actuate said closure member through a closure stroke, wherein said closure stroke comprises a first closure stroke position where said second jaw is in an open configuration and a second closure stroke position where said second jaw is in a closed configuration; a firing drive system configured to actuate said firing member through a firing stroke, wherein said firing stroke comprises a first firing stroke position where none of said staples have been ejected from said staple cartridge and a second firing stroke position where all of said staples have been ejected from said staple cartridge; and a locking mechanism coupled to said frame, wherein said locking mechanism is configured to prevent said firing member from being advanced distally from said first firing stroke position toward said second firing stroke position before said closure member is in said second closure stroke position, and wherein said locking mechanism is configured to prevent said closure member from being retracted from said second closure stroke position toward said first closure stroke position before said firing member is returned to said first firing stroke position after said firing stroke; characterized in that said closure member comprises a first aperture configured to receive a first portion of said locking mechanism and a second aperture configured to receive a second portion of said locking mechanism, and wherein said firing member is unlocked when said second portion of said locking mechanism is received within said second aperture. an end effector, comprising: a staple cartridge comprising a plurality of staples removably stored therein; an anvil; a first jaw; and a second jaw movable relative to said first jaw; a staple cartridge comprising a plurality of staples removably stored therein; an anvil; a first jaw; and a second jaw movable relative to said first jaw; a shaft assembly, comprising: a frame; a distal end, wherein said end effector extends from said distal end; a closure member configured to move said second jaw relative to said first jaw; and a firing member configured to eject said staples from said staple cartridge; a frame; a distal end, wherein said end effector extends from said distal end; a closure member configured to move said second jaw relative to said first jaw; and a firing member configured to eject said staples from said staple cartridge; a closure drive system configured to actuate said closure member through a closure stroke, wherein said closure stroke comprises a first closure stroke position where said second jaw is in an open configuration and a second closure stroke position where said second jaw is in a closed configuration; a firing drive system configured to actuate said firing member through a firing stroke, wherein said firing stroke comprises a first firing stroke position where none of said staples have been ejected from said staple cartridge and a second firing stroke position where all of said staples have been ejected from said staple cartridge; and a locking mechanism coupled to said frame, wherein said locking mechanism is configured to prevent said firing member from being advanced distally from said first firing stroke position toward said second firing stroke position before said closure member is in said second closure stroke position, and wherein said locking mechanism is configured to prevent said closure member from being retracted from said second closure stroke position toward said first closure stroke position before said firing member is returned to said first firing stroke position after said firing stroke; characterized in that said closure member comprises a first aperture configured to receive a first portion of said locking mechanism and a second aperture configured to receive a second portion of said locking mechanism, and wherein said firing member is unlocked when said second portion of said locking mechanism is received within said second aperture.