Variable Data type Description
OB81_EV_CLASS BYTE Event class and identifiers:
39h: incoming event
OB81_FLT_ID BYTE Error code:
22h: Back-up voltage missing
OB81_PRIORITY BYTE Priority class:
28 (mode STARTUP)
OB81_OB_NUMBR BYTE OB-NR. (81)
OB81_RESERVED_1 BYTE reserved
OB81_RESERVED_2 BYTE reserved
OB81_RACK_CPU WORD Bit 2 ... 0: 000 (Rack number)
Bit 3: 1 (master CPU)
Bit 7 ... 4: 1111 (fix)
OB81_RESERVED_3 BYTE reserved
OB81_RESERVED_4 BYTE reserved
OB81_RESERVED_5 BYTE reserved
OB81_RESERVED_6 BYTE reserved
OB81_DATE_TIME DATE_AND_TIME Date and time of day when the OB was called
Information to access the local data can be found at the description of the OB 1.
6.9.3 OB 82 - I/O_FLT1 - Diagnostic Interrupt
n The system diagnostic is the detection, evaluation and reporting of messages which
occur within a PLC system. Examples of errors for these messages could be errors in
the user program, module failures or wire breaks on signalling modules.
n If a module with diagnostic capability for which you have enabled the diagnostic inter-
rupt detects an error, it outputs a request for a diagnostic interrupt to the CPU on
income and outgoing event. The operating system then calls OB 82.
n The local variables of OB 82 contain the logical base address as well as four bytes of
diagnostic data of the faulty module.
n If OB 82 has not been programmed, the CPU changes to the STOP mode. You can
delay the diagnostic interrupt OB with SFC 41 DIS_AIRT or disable the delay with
SFC 42 EN_AIRT.
All diagnostic events reported to the CPU operating system are entered in the diagnostic
buffer in the order in which they occurred, and with date and time stamp. This is a buf-
fered memory area on the CPU that retains its contents even in the event of an overall
reset.
n This diagnostic buffer is a ring buffer and offers at the CPUs of VIPA space for 100
entries.
n When the diagnostic buffer is full, the oldest entry is overwritten by the newest.
n If you are online with the CPU, you can read out the diagnostic buffer by means of the
PLC functions of the Siemens SIMATIC Manager. Besides of the standard entries in
the diagnostics buffer, the VIPA CPUs support some additional specific entries as
event-IDs. More information may be found in the manual of the CPU at "Deployment
of the CPU ..." at "Diagnostic entries".
Description
Diagnostic in ring buffer
VIPA SPEED7
Organization Blocks
Asynchronous error Interrupts > OB 82 - I/O_FLT1 - Diagnostic Interrupt
HB00 | OPL_SP7 | Operation list | en | 18-30 87