F_CLOSE

Closes a binary file open with functions F_ROPEN or F_WOPEN.
IMPORTANT: Avoid using this function. This function is intended to be obsolete.
lrsf_fc1
Arguments
ID
DINT
File number returned by F_ROPEN or F_WOPEN
OK
BOOL
return status
TRUE if file close is OK
FALSE if an error occurred
Example
(* FBD program using file management blocks *)
lrsf_fc2
(* ST Equivalence: *)
file_id := F_ROPEN('data.bin'); ok := F_CLOSE(file_id);
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal