FILE_Open¶
| Parameter | Value | 
|---|---|
| Library_File_Name | CAA_File.lib | 
| Firmware | V2.1 | 
| Type | Type_Function_Block_History | 
| Group | File | 
FILE_Open retrieves a file handle from the drive’s file system for further file operations. This Function Block opens an already existing file or creates a new one depending on the set FILE_MODE at input eFileMode. The return value is a file handle which can be used as an input hFile in the Function Blocks FILE_Read, FILE_Write, FILE_GetPos, FILE_SetPos, FILE_EOF and FILE_Close.