F_ROPEN

Opens a binary file in read mode. For use with FA_READ, FM_READ, and F_CLOSE.
IMPORTANT: Avoid using this function. This function is intended to be obsolete.
lrsf_fr1
Arguments
PATH
MESSAGE
May include the access path to the file using the \ or / symbol to specify a directory. To ease application portability, / or \ is equivalent.
ID
DINT
File number
0 if an error occurs: file does not exist
Example
(* FBD program using file management blocks *)
lrsf_fr2
(* ST Equivalence: *)
file_id := F_ROPEN('c:\data \data.bin'); error := (file_id=0);
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal