Technical data

Table Of Contents
Organization Blocks
System Software for S7-300/400 System and Standard Functions - Volume 1/2
A5E00709327-01
1-41
1.21 Priority Class Error Organization Block (OB85)
Description
The operating system of the CPU calls OB85 whenever one of the following events
occurs:
Start event for an OB that has not been loaded (except OB81).
Error when the operating system accesses a module.
I/O access error during update of the process image by the system (if the OB85
call was not suppressed due to the configuration).
Note
If OB85 has not been programmed, the CPU changes to STOP mode when one of
these events is detected.
You can disable or delay and re-enable the priority class error OB using SFCs 39
to 42.
Local Data for the Priority Class Error OB
The following table describes the temporary (TEMP) variables for the priority class
error OB. The variable names are the default names of OB85.
Variable Type Description
OB85_EV_CLASS BYTE Event class and identifiers: B#16#35
B#16#38 (only with error codes B#16#B3 and B#16#B4)
B#16#39 (only with error codes B#16#B1, B#16#B2,
B#16#B3 and B#16#B4)
OB85_FLT_ID BYTE Error code (possible values: B#16#A1, B#16#A2,
B#16#A3, B#16#A4, B#16#B1, B#16#B2, B#16#B3,
B#16#B4))
OB85_PRIORITY BYTE Priority class; can be assigned via STEP 7
(hardware configuration)
OB85_OB_NUMBR BYTE OB number (85)
OB85_RESERVED_1 BYTE Reserved
OB85_RESERVED_2 BYTE Reserved
OB85_RESERVED_3 INT Reserved
OB85_ERR_EV_CLASS BYTE Class of the event that caused the error
OB85_ERR_EV_NUM BYTE Number of the event that caused the error
OB85_OB_PRIOR BYTE Priority class of the OB that was active when the error
occurred
OB85_OB_NUM BYTE Number of the OB that was active when the error
occurred
OB85_DATE_TIME DATE_AND_TIME DATE_AND_TIME of day when the OB was called