FB125, FC125 or even FC51 are the functions that you can use to determine what slave has faulted.
This topic has been covered several times in the past, if you search this forum using the keyword, FB125, you will find several threads on the subject.
Paul