This function deletes a text file.
An SD card is required to use this function.
In the function menu | On the diagram |
---|---|
![]() |
![]() |
Name | Value Type | Description |
---|---|---|
id |
int32 |
File identifier.The file identifier is used to generate the file name on the SD card. For more about the file name format, see the SD card documentation |
remove |
bool |
Delete trigger. The function starts on a rising edge and continues attempts until success, error, or receiving False on the send input. |
Name | Value Type | Description |
---|---|---|
status |
int32 |
Current function status: 0 – idle 8 – deleting -1 – operation not supported -2 – operation not available -3 – file not accessible -5 – error |
0 -> 8 -> 0 // final status on success
| |
| * -> [-1 .. -5] // error during execution
|
* -> [-1 .. -5] // error before execution
None