Operation of the DP/PA Link and the Y Link
8-8
DP/PA Link and Y Link Bus Couplings
A5E00193841-011
Parameters for SFC 58 ”WR_REC” and SFC 59 ”RD_REC”
The table below shows the required values for the call parameters, LADDR and
REC_NUM, and the error information that may be found in the return value,
RET_VAL.
Table 8-4 Call parameters for SFC 58 ”WR_REC” and SFC 59 ”RD_REC”
LADDR REC_NUM Access
Diagnostic data of the IM 157 Diagnostic address of the
IM 157
0 or 1 Read only
Identification data of the
IM 157
Diagnostic address of the
IM 157
248 … (see Section 8.5) Read/write
Buffered diagnostic data of an
underlying slave (from the
IM 157)
1)
Diagnostic address of the
IM 157
PROFIBUS address of the
underlying slave
Read only
Any record of an underlying
DPV1 slave
Logical address of the
underlying slave or the
underlying module
Record number
2)
Read/
write
2)
1)
Only on the DPV1 master and only for configured slaves
2)
Depends on type of underlying slave or underlying module
Table 8-5 Error information of the IM 157
RET_VAL (W#16#0)
Description
0000 No error
80BB Requested service is not supported
80BC Node not available
80BD Record number or faulty
The additional functions of the SFC 58 ”WR_REC”, SFC 59 ”RD_REC”, SFB 52
“RDREC” and SFB 53 “WRREC” are described in the STEP 7 online help.