User manual
6-1
Distributed I/O System DP/ASi Link
EWA 4NEB 710 6055-02b
DP/ASi Link to S7
If you operate the DP/ASi link to an S7 (6ES7 156-0AA01-0XA0 or later,
version 1), you can re-assign the parameters of the ASi slaves connected to
the DP/ASi link during operation. This is done on the S7 by SFCs 59
“RD_REC” and 58 “WR_REC”, which permit data records to be read and
written.
Read data records with SFC 59 ”RD_REC”
– Data record 140: Read lists and flags of ASi slaves
– Data record 141: Read parameter echo of ASi slaves
– Data record 2: Read response
Write data records with SFC 58 ”WR_REC”
– Data record 142: Write parameters to ASi slaves
– Data record 143: Modify operating address of an ASi slave
– Data record 144: Set DP/ASi link to ”Offline” mode
You use SFC 59 to read a data record from the DP/ASi link. The parameters
are described in the table below:
Table 6-1 Parameters for SFC 59 “RD_REC”
Parameter Declaration Data Type Memory Area Description
REC INPUT BOOL I, O, M, D, L, Const. REQ = 1: Request to read
IOID INPUT BYTE I, O, M, D, L, Const. Area: DP/ASi link is a hybrid module IOID =
B#16#54
LADDR INPUT WORD I, O, M, D, L, Const. Logical address of the DP/ASi link.
Example: Logical address = 336 (decimal),
LADDR = W#16#150 (hexadecimal)
RECNUM INPUT BYTE I, O, M, D, L, Const. Data record number
Example: Data record 140, RECNUM =
B#16#8C
RET_VAL OUTPUT INT I, O, M, D, L If an error occurs while a function is being pro-
cessed, the return value contains an error code.
Introduction
SFC 59 ”RD_REC”
6