Deleting a Data File Stored on the SD Memory Card¶
To delete a data file from the SD memory card, proceed as follows:
Insert the SD memory card.
Call the function block SD_WRITE: SD_WRITE
EN := TRUE ATTRIB := 1 (* delete *) FILENO := 0…99 (* number of the file to be deleted *) SEG, FORMAT, NVAR, ADRVAR - any