
ILC 330.../350...
60
PHOENIX CONTACT
6959_en_07
Example for option string
A typical option string may have the following structure:
/MAXFILES=20 /SCANTIME=5000 /FILENAME=test_?.txt /FILENAME=*.log
In this example, up to 20 files can be monitored. The default directory is scanned every
5 seconds following file modifications. Files with “log” or “txt” extensions are monitored.
Only modifications to “txt” files starting with the character string “test_” are detected. In
addition, all files with the extension “log” are monitored.
Example of a possible
error
The size of the modified file written to SIZE may not be correct. This may be the case, for
example, if a large file has been copied to the parameterization memory via FTP and the
FILE_NOTIFY block has been parameterized with a SCAN_TIME of 1 second. In this case,
the block immediately indicates that a new file has been created and provides information
about the current size of this file. Because the file is still being written, the size indicated
does not match the actual size of the file.
Table 3-10
Options for the option string
Option
Meaning
/MAXFILES
Number of files to be monitored. The permissible value range is 1 to 64.
Memory usage increases along with the number of MAXFILES.
/SCANTIME
Cycle time during which a specific directory is scanned for modifications.
Value specified in seconds. The minimum cycle time is 1 second.
/FILENAME
Name of a specific file group that is to be monitored. This option can be called a number of times to
monitor different file names and file extensions.
The file name must not exceed 80 characters in length. Only printable characters may be used. The
following special characters are relevant for the file name mask:
?
Wildcard for a variable character in a constant character string.
Example: “Test_?_200?.log”
*
Wildcard for a variable character string in a constant character string.
Example: “LogFile*”
If the /FILENAME option is not used, all file names and extensions will be monitored.
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...