314
Appendix
19.8
SysLibFile, SysLibDir, SysLibFileAsync
The file system can be accessed in CoDeSys using the following CoDeSys
libraries: SysLibFile, SysLibDir, and SysLibFile_Async
The following directories can be used for this:
1.
Memory on the boot medium: home/codesys/
2.
Memory on a CF card/USB flash drive formatted using FAT:
media/<partitionname>/
3.
Volatile memory (RAM disk): tmp/
Example:
h_file:=SysFileOpen(media/USBNAME1/data.log', 'a');
The partition name of CF cards/USB flash drives can be assigned using the
WBM/Configtool during formatting. (see chapter "Configuration via Web-Based
Management (WBM)").
In addition, the CF card/USB flash drive can also be formatted with a different
operating system. The partition name can also be assigned then.
Example using WinXP:
Figure 120: Formatting partname
Additional information
Additional information about SysLibFile.lib, SysLibDir and SysLibFileAsync can
be found in the CoDeSys online help.
=== Ende der Liste für Textmarke Inhalt_mitte ===
WAGO-I/O-SYSTEM 750
758-874/000-131 WAGO-I/O-IPC-C6
Manual
Version 1.0.0