F_WOPEN

Opens a binary file in write mode. For use with FA_WRITE, FM_WRITE, and F_CLOSE.
IMPORTANT: Avoid using this function. This function is intended to be obsolete.
lrsf_fw1
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. If the file already exists, it is overwritten
Example
(* FBD program using file management blocks *)
lrsf_fw2
(* ST Equivalence: *)
file_id := F_WOPEN('c:\data \data.bin'); error := (file_id=0);
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal