To detect the slave failure, you may use the command error list. Each command returns an error code once it is executed. If a command returns a value different of 0, this means that there was a problem during the command execution. The command error list can be found in the read data zone at the address you specified in mcm.port1.cmderrptr.