Technical data

Table Of Contents
Organization Blocks
System Software for S7-300/400 System and Standard Functions - Volume 1/2
A5E00709327-01
1-65
Local Data for the I/O Access Error OB
The following table describes the temporary (TEMP) variables for the I/O access
error OB. The variable names are the default names of OB122.
Variable Type Description
OB122_EV_CLASS BYTE Event class and identifiers: B#16#29
OB122_SW_FLT BYTE Error code:
B#16#42: I/O access error, reading
B#16#43: I/O access error, writing
OB122_PRIORITY BYTE Priority class:
Priority class of the OB where the error occurred
OB122_OB_NUMBR BYTE OB number (122)
OB122_BLK_TYPE BYTE Type of block where the error occurred (B#16#88: OB,
B#16#8C: FC, B#16#8E: FB) (no valid number is entered
here for an S7-300)
OB122_MEM_AREA BYTE Memory area and access type:
Bit 7 to 4: Access type
-
0: Bit access
-
1: Byte access
-
2: Word access
- 3: DWord access
Bit 3 to 0: memory area
-
0: I/O area
-
1: Process image of the inputs
-
2: Process image of the outputs
OB122_MEM_ADDR WORD Memory address where the error occurred
OB122_BLK_NUM WORD Number of the block with the MC7 command that caused
the error (no valid number is entered here for an S7-300)
OB122_PRG_ADDR WORD Relative address of the MC7 command that caused the
error (no valid number is entered here for an S7-300)
OB122_DATE_TIME DATE_AND_TIME DATE_AND_TIME of day when the OB was called