Responses to a diagnostic interrupt
If an event occurs that can trigger a diagnostic interrupt, the following happens:
• The diagnostic information is stored in the diagnostic data records DS0 and DS1 on the
module.
• An error LED lights up.
• The diagnostic interrupt OB is called (OB82).
• Diagnostic data record DS0 is entered in the start information of the diagnostic interrupt OB.
• The count process continues unchanged.
If no OB82 has been programmed, the CPU goes into STOP.
Diagnostic Data Records DS0 and DS1
The information as to which event triggered a diagnostic interrupt is stored in diagnostic data
records DS0 and DS1. Diagnostics data record DS0 consists of 4 bytes; DS1 consists of 12 bytes,
the rst 4 bytes of which are identical to DS0.
Reading the data record from the module
Diagnostic data record DS0 is automatically transferred to the start information when the
diagnostic OB is called. These four bytes are stored there in the local data element (bytes 8-11)
of OB 82.
You can read out the diagnostic data record DS 1 and hence also the contents of DS0 from the
module using FC DIAG_INF. This is only useful if DS0 signals an error in one channel.
Errors and diagnostics
11.3 Initiation of diagnostics interrupts
Counter module FM 450-1
Equipment Manual, 03/2022, A5E03648739-AC 93