EasyManua.ls Logo

YASKAWA VIPA SPEED7 - SFC 58 - WR_REC - Write Record

YASKAWA VIPA SPEED7
1007 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Value Description
80D3h 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 record
The SFC 58 WR_REC (write record) transfers the record RECORD into the selected
module.
The write operation is started when input parameter REQ is set to 1 when the call to the
SFC 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 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 range: 2 ... 240)
RECORD INPUT ANY I, Q, M, D, L Record
Only data type BYTE is valid
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 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 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).
Description
Parameters
RECORD
VIPA SPEED7
Integrated Standard
System Functions > SFC 58 - WR_REC - Write record
HB00 | OPL_SP7 | Operation list | en | 18-30 698

Table of Contents

Related product manuals