Value Description80D3h The SDB cannot be accessed since it does not exist.80D4h Bad SDB structure: the SDB internal pointer points to an element outside of the SDB.14.1.46 SFC 58 - WR_REC - Write recordThe SFC 58 WR_REC (write record) transfers the record RECORD into the selectedmodule.The write operation is started when input parameter REQ is set to 1 when the call to theSFC 58 is issued.Output parameter BUSY returns a value of 0 if the write operation was executed immedi-ately. BUSY is set to 1 if the write operation could not be completed.These SFC can be used for digital-, analog modules, FMs, CPs and via PROFIBUS DP-V1.System dependent this block cannot be interrupted!Parameter Declaration Data type Memory block DescriptionREQ INPUT BOOL I, Q, M, D, L,constantREQ = 1: write requestIOID INPUT BYTE I, Q, M, D, L,constantIdentifier for the address space:54h = peripheral input (PI)55h = peripheral output (PQ)For hybrid modules the SFC returns the areaidentifier of the lower address. When theaddresses are equal the SFC returns identifier54h.LADDR INPUT WORD I, Q, M, D, L,constantLogical base address of the module. For hybridmodules the lower of the two addresses must bespecified.RECNUM INPUT BYTE I, Q, M, D, L,constantRecord number(valid range: 2 ... 240)RECORD INPUT ANY I, Q, M, D, L RecordOnly data type BYTE is validRET_VAL OUTPUT INT I, Q, M, D, L The return value contains an error code if an erroris detected when the function is being processed.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 parameterRECORD. 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 theSFC (of the same job).DescriptionParametersRECORDVIPA SPEED7Integrated StandardSystem Functions > SFC 58 - WR_REC - Write recordHB00 | OPL_SP7 | Operation list | en | 18-30698