Code Description
8021h Error NEWNAME
(not conform with 8.3 format or special character)
A000h System internal error occurred
A001h The defined MEDIA type is not valid
A003h The new filename NEWNAME already exists
A004h File OLDNAME is not found
A006h File OLDNAME is just open
A007h Memory card write-protected
A100h Error occurs when file creation (e.g. no memory card plugged)
16.3.10 FC/SFC 215 - FILE_DEL - Delete file
This block allows you to delete a file at the memory card. For this, type the file name of
the file to delete under FILENAME.
CAUTION!
Please regard that you may only delete files that you've closed before
with FILE_CLO. Nonobservance may cause data loss at the memory
card!
Parameters
Parameter Declaration Data type Description
REQ IN BOOL Activate function
MEDIA IN INT 0 = MMC
FILENAME IN STRING[254] Name of file (must be in 8.3 format)
RETVAL OUT WORD Return value (0 = OK)
BUSY OUT BOOL Function is busy.
Description
VIPA SPEED7
System Blocks
File Functions SPEED7 CPUs > FC/SFC 215 - FILE_DEL - Delete file
HB00 | OPL_SP7 | Operation list | en | 18-30 920