Technical data

Table Of Contents
Copy and Block Functions
System Software for S7-300/400 System and Standard Functions - Volume 1/2
A5E00709327-01
3-17
Operating principle
The SFC 82 "CREA_DBL" operates asynchronously, that is, processing covers
multiple SFC calls. Start the job by calling SFC 82 with REQ = 1.
Th job status is displayed via the output parameters RET_VAL and BUSY.
Refer also to Meaning of REQ, RET_VAL and BUSY for asynchronously operating
SFCs
Parameters Declaration Data type Memory area Description
REQ INPUT BOOL I, Q, M, D, L REQ = 1: Request to generate the DB
LOW_LIMIT INPUT WORD I, Q, M, D, L Lower limit of the range used by the SFC to
assign a number to our DB
UP_LIMIT INPUT WORD I, Q, M, D, L Upper limit of the range used by the SFC to
assign a number to our DB
COUNT INPUT WORD I, Q, M, D, L The count value specifies the quantity of data
bytes you want to reserve for your DB. Here
you must specify an even number of bytes.
ATTRIB INPUT BYTE I, Q, M, D, L DB properties:
Bit 0 = 1: UNLINKED:
The DB exists only in load
memory.
Bit 1 = 1: READ_ONLY:
The DB is write protected.
Bit 2 = 1: NON_RETAIN:
The DB is not retentive.
Bit 3 to 7: Reserved
SRCBLK INPUT ANY D Pointer to the data area with whose values the
DB to be created is initialized
RET_VAL OUTPUT INT I, Q, M, D, L Error information
BUSY OUTPUT BOOL I, Q, M, D, L BUSY = 1: The process is not terminated.
DB_NUM OUTPUT WORD I, Q, M, D, L Number of the generated DB