
ILC 330.../350...
52
PHOENIX CONTACT
6959_en_07
Table 3-5
FILE_WRITE function block inputs and outputs
Name
Data
type
Data direction
Description
Execute
BOOL
Input
Rising edge: block writes data to file.
Handle
UINT
Input
File handle of file to which data is to be written.
Buffer
ANY
Output
Data buffer containing data to be written.
Length
UDINT
Input
Number of characters to be written.
Done
BOOL
Output
FALSE:
The function block was not executed.
TRUE:
The function block was executed.
Length
Written
UDINT
Output
Number of characters written.
Error
BOOL
Output
FALSE:
No errors occurred when writing.
TRUE:
An error occurred when writing.
ErrorID
UINT
Output
Error number of the error that occurred when writing the file:
0:
No error information available.
1:
Invalid file handle.
11:
No memory is available for writing the data.
12:
Number of characters to be written is greater than data buffer.
23:
No data could be written.
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...