Technical data

Table Of Contents
SFCs for Diagnostics
System Software for S7-300/400 System and Standard Functions - Volume 1/2
A5E00709327-01
13-3
Example
The OB that was called last and that has not yet been completely processed
serves as OB 80. The start-up OB that was started last serves as OB 100.
The following table shows the assignment of the structure elements of parameter
TOP_SI of SFC 6 "RD_SINFO" and the respective local variables of OB 80.
TOP_SI OB80
Structure Element Data Type Local Variable Data Type
EV_CLASS BYTE OB80_EV_CLASS BYTE
EV_NUM BYTE OB80_FLT_ID BYTE
PRIORITY BYTE OB80_PRIORITY BYTE
NUM BYTE OB80_OB_NUMBR BYTE
TYP2_3 BYTE OB80_RESERVED_1 BYTE
TYP1 BYTE OB80_RESERVED_2 BYTE
ZI1 WORD OB80_ERROR_INFO WORD
ZI2_3 DWORD OB80_ERR_EV_CLASS BYTE
OB80_ERR_EV_NUM BYTE
OB80_OB_PRIORITY BYTE
OB80_OB_NUM BYTE
The following table shows the assignment of the structure elements of parameter
START_UP_SI of SFC 6 "RD_SINFO" and the respective local variables of
OB 100.
START_UP_SI OB 100
Structure Element Data Type Local Variable Data Type
EV_CLASS BYTE OB100_EV_CLASS BYTE
EV_NUM BYTE OB100_STRTUP BYTE
PRIORITY BYTE OB100_PRIORITY BYTE
NUM BYTE OB100_OB_NUMBR BYTE
TYP2_3 BYTE OB100_RESERVED_1 BYTE
TYP1 BYTE OB100_RESERVED_2 BYTE
ZI1 WORD OB100_STOP WORD
ZI2_3 DWORD OB100_STRT_INFO DWORD
Error Information
SFC 6 "RD_SINFO" does not provide any specific error information but only
general error information. The general error codes and how to evaluate them are
described in detail in Evaluating Errors with Output Parameter RET_VAL in the
section entitled "General Parameters for SFCs".