The SFC 6 only returns general error information. No specific error information is avail-
able.
The OB that was called last and that has not yet been completely processed serves as
OB 80; the restart 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 and the respective local variables of OB 80.
TOP_SI
Structure element
Data type Logical Variable Data type
EV_CLASS BYTE OB100_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
OB80_ERR_EV_NUM
OB80_OB_PRIORITY
OB80_OB_NUM
BYTE
BYTE
BYTE
BYTE
The following table shows the assignment of the structure elements of parameter
START_UP_SI of SFC 6 and the respective local variables of OB 100.
START_UP_SI
Structure element
Data type Logical 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
RET_VAL (Return value)
Example
VIPA SPEED7
Integrated Standard
System Functions > SFC 6 - RD_SINFO - Read start information
HB00 | OPL_SP7 | Operation list | en | 18-30 651