
ILC 330.../350...
50
PHOENIX CONTACT
6959_en_07
Table 3-4
FILE_READ function block inputs and outputs
Name
Data
type
Data
direction
Description
Execute
BOOL
Input
Rising edge: block reads data from file.
Handle
UINT
Input
File handle of file from which data is to be read.
Buffer
ANY
Output
Data buffer for data to be read.
MaxLength
UDINT
Input
Number of characters to be read.
Done
BOOL
Output
FALSE:
The function block was not executed.
TRUE:
The function block was executed.
LengthRead
UDINT
Output
Number of characters read.
Error
BOOL
Output
FALSE:
No errors occurred when reading.
TRUE:
An error occurred when reading.
ErrorID
UINT
Output
Error number of the error that occurred when reading the file:
0:
No error information available.
1:
Invalid file handle.
10:
End of file reached.
12:
Number of characters to be read is greater than data buffer.
22:
No data could be read.
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...