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
A5E00709327-01
16-23
If the DP standard slave has a modular design, you can only access one module of
the DP slave.
Parameter Declaration Data Type Memory Area Description
LADDR INPUT WORD I, Q, M, D, L,
constant
Configured start address from the process
image output area of the module to which
the data will be written.
Note:
Addresses have to be entered in
hexadecimal format. For example,
diagnostic address 100 means:
LADDR:=W#16#64.
RECORD INPUT ANY I, Q, M, D, L Source area for the user data to be
written. This must be exactly as long as
you configured for the selected module
with STEP 7. Only the BYTE
data type is permitted.
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.
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.
808x System error with external DP interface module.
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 to which you can write consistent data
exists at the logical address specified in LADDR.
80A1 Access error detected while I/O devices were being accessed.
80B0 Slave failure on external DP interface module.
80B1 The length of the specified source 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.