EasyManua.ls Logo

YASKAWA VIPA SPEED7 - SFC 22 - CREAT_DB - Create a Data Block

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...
Parameters
Parameter Declaration Data type Memory block Description
BVAL INPUT ANY I, Q, M, D, L Contains the value or the description of the source
field that should be copied into the target field.
Arrays of the data type STRING are not permitted.
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.
BLK OUTPUT ANY I, Q, M, D, L Contains the description of the target field that must
be filled. Arrays of the data type STRING are not
permitted.
Pay attention to the following when the input parameter consists of a structure: the length
of a structure is always aligned with an even number of bytes. This means, that if you
should declare a structure with an uneven number of bytes, the structure will require one
additional byte in memory.
Example:
The structure is declared as follows:
STRUKTUR_7_BYTE: STRUCT
BYTE_1_2 : WORD
BYTE_3_4 : WORD
BYTE_5_6 : WORD
BYTE_7: BYTE
END_STRUCT
Structure "STRUKTUR_7_BYTE" requires 8bytes of memory.
The return value contains an error code if an error is detected when the function is being
processed.
The SFC 21 returns no specific error information.
14.1.18 SFC 22 - CREAT_DB - Create a data block
The SFC 22 CREAT_DB (create data block) allows the application program to create a
data block that does not contain any values. A data block is created that has a number in
the specified range and with a specific size. The number assigned to the DB will always
be the lowest number in the specified range. To create a DB with specific number you
must assigned the same number to the upper and the lower limit of the range. If the appli-
cation program already contains DBs then the respective numbers cannot be assigned
any longer. The length of the DB must be an even number.
The SFC 22 may be interrupted by OBs with a higher priority. If a call is issued to an SFC
22 from an OB with a higher priority, then the call is rejected with error code 8091h.
Parameter is a structure
RET_VAL (Return value)
Description
Interruptibility
VIPA SPEED7
Integrated Standard
System Functions > SFC 22 - CREAT_DB - Create a data block
HB00 | OPL_SP7 | Operation list | en | 18-30 667

Table of Contents

Related product manuals