Parameter Declaration Data type Memory block Description
RET_VAL OUTPUT INT I, Q, M, D, L The return value contains an error code if an
error is detected when the function is being pro-
cessed.
Additionally: the length of the record that was
read in bytes, provided the size of the record fits
into the target area and that no communication
errors have occurred.
RECORD OUTPUT ANY I, Q, M, D, L Target area for the record that was read. Only
data type BYTE is valid.
Two distinct cases exist for RET_VAL = 8xxxh:
n Temporary error (error codes 80A2h ... 80A4h, 80Cxh):
For this type of error it is possible that the error corrects itself without intervention. For
this reason it is recommended that you re-issue the call to the SFC (once or more
than once). Example for temporary errors: the required resources are occupied at
present (80C3h).
Example for temporary errors: the required resources are occupied at present
(80C3h).
n Permanent error (error codes 809xh, 80A1h, 80Bxh, 80Dxh):
These errors cannot be corrected without intervention. A repeat of the call to the SFC
is only meaningful when the error has been removed.
Example for permanent errors: incorrect length of the record that must be transferred
(80B1h).
Value Description
7000h First call with REQ = 0: data transfer not active;
BUSY is set to 0.
7001h First call with REQ = 1: data transfer initiated;
BUSY is set to 1.
7002h Intermediate call (REQ irrelevant): data transfer active;
BUSY is set to 1.
8090h The specified logical base address is invalid:
no assignment available in SDB1/SDB2x, or this is not a base address.
8092h ANY-reference contains a type definition that is not equal to BYTE.
8093h This SFC is not valid for the module selected by LADDR and IOID.
80B1h The length of the target area defined by RECORD is too small.
80D0h The respective SDB does not contain an entry for the module.
80D1h The record number has not been configured in the respective SDB for the module.
80D2h According to the type identifier the module cannot be configured.
80D3h SDB cannot be accessed since it does not exist.
80D4h Bad SDB structure: the SDB internal pointer points to an element outside of the SDB.
RET_VAL (Return value)
VIPA SPEED7
Integrated Standard
System Functions > SFC 54 - RD_DPARM - Read predefined parameter
HB00 | OPL_SP7 | Operation list | en | 18-30 691