366 Appendix
WAGO I/O SYSTEM 750 XTR
750-8202/040-001 PFC200 2ETH RS TELE XTR
Manual
Version 1.2.0, valid from FW Version 03.01.07(13)
Table 272: Possible Macros for File Access
Macro
Booting from Internal Memory Booting from Memory Card
HOME://
“/home/codesys/”
(internal NAND memory)
“/home/codesys/”
(memory card)
CARD://
“/media/sd/”
(nemory card)
“/home/codesys/”
(memory card)
TMP://
“/tmp/codesys/”
(internal RAM memory)
“/tmp/codesys/”
(internal RAM memory)
14.2.1.4 SysLibFileAsync.lib
The controller 750-8202/040-001supports the following function blocks of the
“SysLibFileAsync.lib” library:
-
SysFileCloseAsync
-
SysFileCopyAsync
-
SysFileDeleteAsync
-
SysFileEOFAsync
-
SysFileGetPosAsync
-
SysFileGetSizeAsync
-
SysFileGetTimeAsync
-
SysFileOpenAsync
-
SysFileReadAsync
-
SysFileRenameAsync
-
SysFileSetPosAsync
-
SysFileWriteAsync
Ensure that files are saved!
Files are not reliably saved to the data medium until you call up the
“SysFileCloseAsync” function block.
Additional information about this is given in the online Help function for
CODESYS-IDE.
Notes on the parameters of the function blocks
File and directory names distinguish between upper and lower case!
“test.txt”≠ “TEST.TXT”≠ “Test.txt”
The separator for directories is: “/.”
The file system supports:
-
Absolute paths, (e.g., “/media/sd/test.txt”)
-
Relative paths (e.g., “testpath/test.txt”)
-
Macros (e.g., “HOME://”, “CARD://”, “TMP://”)