
The Function Block FS_RMFILE deletes a file.
Warning: Files are deleted without warning.
The File System must have been initialized beforehand using FS_INIT. All operations occur asynchronously per configured storage medium.
A positive edge deletes the specified file from the storage medium.
Defines the device to which files are to be accessed. The device is used per project and can be managed in the context menu under Project External Storage.
Specifies the path to the file on the storage medium. The path corresponds to a Unix file path in UTF-8 format, if this is supported. The path is represented as follows:
Folder/Subfolder/File.txt
The output returns a pulse on success to perform the next operation. The pulse occurs when the process ends, even if an error has occurred.
In case of an error, it returns a text with an error message. This is FALSE if no error has occurred. The state is stored for later use.
Possible Causes