
ILC 330.../350...
58
PHOENIX CONTACT
6959_en_07
3.5.8
FILE_NOTIFY
The FILE_NOTIFY block is used to display the files which have recently been added,
deleted or modified.
Figure 3-9
FILE_NOTIFY block
•
Parameterize the block using an option string at the “Option” input. The possible
options are indicated in Table 3-10 on page 60. Only one instance of this block can be
used.
•
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. This is
the case if the monitoring condition set at the “Option” input is true.
The name of the modified file can be read as a string at the “Name” output.
The size of the file to be modified (in bytes) can be read at the “Size” output.
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. If the monitoring condition set is true for a number of files,
the block is reset as soon as “Done” changes to 1 following a rising edge at “Execute”. The
next file name can then be read from “Name”.
7018B033
FILE_NOTIFY
Execute
Option
Name
Size
Done
Reason
Error
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...