
The Inline controller under PC Worx
6959_en_07
PHOENIX CONTACT
53
3.5.5
FILE_REMOVE
The FILE_REMOVE block is used to delete a file with a specific name.
Figure 3-6
FILE_REMOVE block
Before deletion, the file to be deleted must be closed using the FILE_CLOSE function block.
•
Assign a STRING variable containing the name of the file to be deleted to the “Name”
input. The file name must not exceed 80 characters in length.
•
Activate the block on a rising edge at the “Execute” input.
The execution of the function block is complete when the “Done” output is set to 1.
If an error occurred during execution, the value at the “Error” output = 1.
“ErrorID” indicates the number of the cause of the error.
The status of the “Done”, “Error”, and “ErrorID” outputs is maintained until a falling edge is
detected at the “Execute” input.
7018B030
FILE_REMOVE
Execute
Name
Error
Done
ErrorID
Summary of Contents for ILC 330 Series
Page 1: ...User manual Installing and operating the ILC 330 and ILC 350 Inline controllers...
Page 8: ...ILC 330 350 8 PHOENIX CONTACT 6959_en_07...
Page 10: ...ILC 330 350 10 PHOENIX CONTACT 6959_en_07...
Page 42: ...ILC 330 350 42 PHOENIX CONTACT 6959_en_07...
Page 68: ...ILC 330 350 68 PHOENIX CONTACT 6959_en_07...