Technical data

Table Of Contents
SFCs/SFBs for Transferring Data Records
System Software for S7-300/400 System and Standard Functions - Volume 1/2
A5E00709327-01
7-7
7.5 Writing Default Parameters with SFC 56 "WR_DPARM"
Description
With SFC 56 "WR_DPARM" (write default parameter), you transfer the data record
with the number RECNUM from STEP 7 configuration data to the addressed
module. With this function, it is irrelevant whether the data record is static or
dynamic.
Parameter Declaration Data Type Memory Area Description
REQ INPUT BOOL I, Q, M, D, L,
constant
REQ = 1: Write request
IOID INPUT BYTE I, Q, M, D, L,
constant
ID of the address area:
B#16#54 = Peripheral Input (PI)
B#16#55 = Peripheral Output (PO)
If the module is a mixed module,
specify the area ID of the lowest
address. If the addresses are the same,
specify B#16#54.
LADDR INPUT WORD I, Q, M, D, L,
constant
Logical base address of the module.
With mixed modules, specify the lower
of the two addresses.
RECNUM INPUT BYTE I, Q, M, D, L,
constant
Data record number
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.
BUSY OUTPUT BOOL I, Q, M, D, L BUSY = 1: Writing is not yet completed.
Error Information
Assigning Parameters to a Module with SFC 57 "PARM_MOD"