14.1.43 SFC 55 - WR_PARM - Write dynamic parameter
The SFC 55 WR_PARM (write parameter) transfers the record RECORD to the target
module. Any parameters for this module that exist in the respective SDB will not be
replaced by the parameters that are being transferred to the module.
These SFC can be used for digital-, analog modules, FMs, CPs and via PROFIBUS DP-
V1.
It is important that the record that must be transferred is not static, i.e.:
n do not use record 0 since this record is static for the entire system.
n if the record appears in SDBs 100 ... 129 then the static-bit must not be set.
Parameters
Parameter Declaration Data type Memory block Description
REQ INPUT BOOL I, Q, M, D, L,
constant
REQ = 1: write request
IOID INPUT BYTE I, Q, M, D, L,
constant
Identifier for the address space:
54h = peripheral input (PI)
55h = peripheral output (PQ)
For hybrid modules the SFC returns the area
identifier of the lower address. When the
addresses are equal the SFC returns identifier
54h.
LADDR INPUT WORD I, Q, M, D, L,
constant
Logical base address of the module. For hybrid
modules the lower of the two addresses must be
specified.
RECNUM INPUT BYTE I, Q, M, D, L,
constant
Record number
(valid values: 0 ... 240)
RECORD INPUT ANY I, Q, M, D, L Record
RET_VAL OUTPUT INT I, Q, M, D, L The return value contains an error code if an
error is detected when the function is being pro-
cessed.
BUSY OUTPUT BOOL I, Q, M, D, L BUSY = 1: the write operation has not been com-
pleted.
With the first call to the SFC the data that must be transferred is read from the parameter
RECORD. However, if the transfer of the record should require more than one call dura-
tion, the contents of the parameter RECORD is no longer valid for subsequent calls to the
SFC (of the same job).
Two distinct cases exist for RET_VAL = 8xxxh:
Description
Conditions
RECORD
RET_VAL (Return value)
VIPA SPEED7
Integrated Standard
System Functions > SFC 55 - WR_PARM - Write dynamic parameter
HB00 | OPL_SP7 | Operation list | en | 18-30 692