Backing up the diagnostics
Depending on byte x+1, transfer the content of the device-related diagnostics for the following 
reasons to a data block 
● The interrupts are updated cyclically.
● The content of the diagnostics starting from byte x+3 depends on whether a diagnostic 
interrupt, hardware interrupt, or plug/pull interrupt is signaled.
Note
In order to evaluate diagnostic interrupts and hardware interrupts via the device-related 
diagnostics, you must regularly query the corresponding bits in the device-related 
diagnostics in your user program.
See also
Identifier-related diagnosis (Page 96)
Interrupts (Page 105)
Interrupt, error and system messages
8.3 S7 diagnostics
ET 200PA SMART
116 Operating Instructions, 06/2019, A5E34192013-AB