Deleting a Data File Stored on the SD Card

  1. Insert the SD Card.

  2. Call the block SD_WRITE with the following settings:

    EN := TRUE  
    ATTRIB := 1 (* delete *)
    FILENO := 0…99 (* number of the file to be deleted *)
    SEG, FORMAT, NVAR, ADRVAR - any