Technical data

Table Of Contents
SFCs for Distributed I/Os or PROFINET IO
System Software for S7-300/400 System and Standard Functions - Volume 1/2
16-20
A5E00709327-01
If you read from a DP standard slave with a modular design or with several DP
identifiers, you can only access the data of one module/DP identifier per SFC 14
call specifying the configured start address.
Parameter Declaration Data Type Memory Area Description
LADDR INPUT WORD I, Q, M, D, L,
constant
Configured start address from the I area
of the module from which the data will be
read.
Note:
Addresses have to be entered in
hexadecimal format. For example,
diagnostic address 100 means:
LADDR:=W#16#64.
RET_VAL OUTPUT INT I, Q, M, D, L If an error occurs while the function is
active, the return value contains an error
code.
RECORD OUTPUT ANY I, Q, M, D, L Destination area for the user data that
were read. This must be exactly as long
as you configured for the selected module
with STEP 7. Only the data type BYTE is
permitted.
Error Information
Note
If you access DPV1 slaves, error information from these slaves can be forwarded
from the DP master to the SFC. For details on this error information, see Receiving
an Interrupt with SFB 54 "RALRM" STATUS[3].
Error Code (W#16#...) Explanation
0000 No error occurred.
8090
You have not configured a module for the specified logical base address
or
you have ignored the restriction concerning the length of consistent data
or
you have not entered the start address in the LADDR parameter in
hexadecimal format.
8092 A type other than BYTE is specified in the ANY reference.
8093 No DP module/PROFINET IO device from which you can read consistent data
exists at the logical address specified in LADDR.
80A0 Access error detected while the I/O devices were being accessed.
80B0 Slave failure on external DP interface module.
80B1 The length of the specified destination area is not identical to the user data
length configured with STEP 7.
80B2 System error with external DP interface module.
80B3 System error with external DP interface module.
80C0 The data haven't yet been read by the module.