The table below shows the structure of a system function error code:
Bit Description
7 ... 0 Event number or error class and single error
14 ... 8 Bit 14 ... 8 = "0": Specific error code
The specific error codes are listed in the descriptions of the individual
SFCs.
Bit 14 ... 8 > "0": General error code
The possible general error codes are shown
15 Bit 15 = "1": indicates that an error has occurred.
This error code indicates that an error pertaining to a particular system function occurred
during execution of the function.
A specific error code consists of the following two numbers:
n Error class between 0 and 7
n Error number between 0 and 15
Bit Description
3 ... 0 Error number
6 ... 4 Error class
7 Bit 7 = "1"
14 ... 8 Bit 14 ... 8 = "0"
15 Bit 15 = "1": indicates that an error has occurred.
The parameter RET_VAL of some SFCs only returns general error information. No spe-
cific error information is available.
The general error code contains error information that can result from any system func-
tion. The general error code consists of the following two numbers:
n A parameter number between 1 and 111, where 1 indicates the first parameter of the
SFC that was called, 2 the second etc.
n An event number between 0 and 127. The event number indicates that a synchro-
nous fault has occurred.
Bit Description
7 ... 0 Event number
14 ... 8 Parameter number
15 Bit 15 = "1": indicates that an error has occurred.
The following table explains the general error codes associated with a return value. Error
codes are shown as hexadecimal numbers. The x in the code number is only used as a
placeholder. The number represents the parameter of the system function that has
caused the error.
RET_VAL (Return value)
Specific error code
General error codes
RET_VAL
General error codes
VIPA SPEED7
Block parameters
General and Specific Error Information RET_VAL
HB00 | OPL_SP7 | Operation list | en | 18-30 67