FLASH_DELΒΆ
This Function Block deletes a user data segment from the Flash. All data in this data segment are lost after deletion.
Access to the Flash is only possible using the Function Blocks FLASH_DEL, FLASH_WRITE and FLASH_READ.
The input SEG defines the data segment within the Flash. In the AC500, two segments with the number 1 and 2 are reserved for the user, each providing 64 kbytes. Deleting a data segment within the Flash may take several PLC cycles.
A FALSE/TRUE edge at input EN triggers the deletion of the data segment once. Input EN will not be evaluated again, until the delete operation is completed (DONE = TRUE).
After completion of the delete procedure, all Function Block outputs are updated. The deletion was successful, if DONE = TRUE and ERR = FALSE. If the outputs show DONE = TRUE and ERR = TRUE, the data segment could not be deleted.
Available as of PLC runtime system: | V1.0 |
Included in library: | SysInt_AC500_V10.lib |
Type | Function Block with historical values |