6
Diagnostics and Interrrupts of the CP 343-2
110
CP 343−2 / CP 343−2 P AS−Interface Master
Release 08/2008
C79000−G8976−C149−04
6.8
Diagnostic Interrupts: Some Examples
It is assumed that slaves 1 and 12 were configured using the buttons on the CP
343-2 and that the CP 343-2 is in the protected mode.
If slave 7 fails, the CP 343-2 generates a diagnostic interrupt. The PLC operating
system then enters the “module fault” message in the system diagnostic buf fer and
starts OB82 (refer to the programming example in Section 6.7). When OB82 has
been executed, the delta list contains the following information:
MD 107
80 00 00 00
H
MD 111
00 00 00 00
H
If the unconfigured slave 15 is then connected to the AS-interface, the CP 343-2
generates another diagnostic interrupt. The “module fault” message appears in the
system diagnostic buffer again.The delta list then changes to the following value:
MD 107
80 80 00 00
H
MD 111
00 00 00 00
H
After reconnecting slave 7 to the AS-interface, there is still an error (slave 15). The
“module fault” message appears in the system diagnostic buffer and the delta list
has the following value:
MD 107
00 80 00 00
H
MD 111
00 00 00 00
H
After disconnecting slave 15, no error exists any longer. The CP 343-2 signals this
in the diagnostic interrupt. The “module OK” appears in the system diagnostic
buffer and the Delta list is empty:
MD 107
00 00 00 00
H
MD 111
00 00 00 00
H
-