File_Notify - Phoenix Contact ILC 330 User Manual

Inline controllers
Table of Contents

Advertisement

UM EN ILC 330/350
3-14
PHOENIX CONTACT
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. Only one instance of this block can be used.
Activate the block on a rising edge at the "Execute" input.
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 file to be modified 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".
6959_en_05

Advertisement

Table of Contents
loading

Table of Contents