I have a S7-400 plc.
15 ET200M and many drivers connected to this plc via profibus.
When there is BF (Bus failure or Bus Fault


I have to go to a Pc, open project, be online at hardware and see.. in which dp slave there is a problem.

Now my question is; how can I read this Bus failure from plc?

I'm planning to creat alarms in wincc with this information.
I'll use about 20 bits. When no communication to dp slave profibus address=1 M100.0 will be 1.
No communication to Dp 2 .... M100.1 will be 1.
I saw FB126 "PNIODiag" but I think it sucks.

Thanks