14.1.20 SFC 24 - TEST_DB - Test data blockThe SFC 24 TEST_DB (test data block) returns information about a data block that islocated in the application memory of the CPU. The SFC determines the number of databytes and tests whether the selected DB is write protected.Parameter Declaration Data type Memory block DescriptionDB_NUMBER INPUT WORD I, Q, M, D, L,constantNumber of the DB that must be tested.RET_VAL OUTPUT INT I, Q, M, D, L The return value contains an error code if anerror is detected when the function is beingprocessed.DB_LENGTH OUTPUT WORD I, Q, M, D, L The number of data bytes that are containedin the selected DB.WRITE_PROT OUTPUT BOOL I, Q, M, D, L Information about the write protection code ofthe selected DB (1 = write protected).The return value contains an error code if an error is detected when the function is beingprocessed.Value Description0000h no error80A1h Error in input parameter DB_NUMBER:the selected actual parametern has a value of 0n exceeds the maximum DB number that is possible on the CPU that is being used80B1h A DB with the specified number does not exist on the CPU.80B2h A DB with the specified number was created with the key word UNLINKED.14.1.21 SFC 25 - COMPRESS - Compressing the User MemoryGaps can occur in the load memory and in the work memory if data blocks are deletedand reloaded several times. These gaps reduce the effective memory area.With SFC 25 COMPRESS, you start compression of the RAM section of both the loadmemory and the work memory. The compression function is the same as when startedexternally in the RUN mode (mode selector setting).If compression was started externally and is still active (via Module Status Information),the SFC 25 call will result in an error message.DescriptionParametersRET_VAL (Return value)Gaps in MemoryDescriptionVIPA SPEED7Integrated StandardSystem Functions > SFC 25 - COMPRESS - Compressing the User MemoryHB00 | OPL_SP7 | Operation list | en | 18-30670