SFC 22 Create DB |
Top Previous Next |
With this system function you can create a DB while runtime. The area of the number of the new DB you specify with the parameter LOW_LIMIT and UP_LIMIT. The number of the really created DB is given back by the parameter DB_NUMBER. By the parameter COUNT that has to be even you specify the size of the DB that shall be created. The Out-parameter RET_VAL can have the following values:
W#16#0000: no errors W#16#80A1: LOW_LIMIT = 0 or bigger than UP_LIMIT W#16#80A2: COUNT = 0 or uneven W#16#80B1: No DB created because no number free.
The other realized error cases in a S7 are not realized.
See also:
|