Saia-Burgess Controls AG
Manual File System │ Document 26-855 ENG08 │ 2016-12-12
Content
0-2
0
A.4.5 The “Delete File” Saia PG5
®
FBox ................................................................ A-5
A.4.5 The “Rename File” Saia PG5
®
FBox ............................................................. A-6
A.4.6 The “Get File Length” Saia PG5
®
FBox ......................................................... A-6
A.4.7 Saia PG5
®
FBoxes for writing data to a le ................................................... A-6
A.4.8 Saia PG5
®
FBoxes for reading data from a le ............................................. A-7
A.4.9 Saia PG5
®
FBoxes for creating log les ........................................................ A-7
B Appendix:SystemFunctions(InstructionList)
toaccesslesystemfromuserprogram
B.1 Introduction ..................................................................................................... B-1
B.1.1 Purpose of this chapter ................................................................................ B-1
B.1.2 The File System ........................................................................................... B-1
B.2 File System SFC Library ................................................................................. B-2
B.2.1 Introduction ................................................................................................... B-2
B.2.2 Parameters ................................................................................................... B-4
B.2.3 Error codes.................................................................................................... B-8
B.2.4 Asynchronous functions ................................................................................ B-11
B.2.5 CSF function execution time ......................................................................... B-12
B.3 File System SFC Specication ........................................................................ B-13
B.3.1 S.File.Create / S.File.ASCreate .................................................................... B-13
B.3.2 S.File.CreateDir / S.File.ASCreateDir ........................................................... B-14
B.3.3 S.File.Open ................................................................................................... B-15
B.3.4 S.File.Seek .................................................................................................... B-16
B.3.5 S.File.Close ................................................................................................... B-17
B.3.6 S.File.Write ................................................................................................... B-18
B.3.7 S.File.Read ................................................................................................... B-19
B.3.8 S.File.GetLength ........................................................................................... B-20
B.3.9 S.File.Delete / S.File.ASDelete ..................................................................... B-21
B.3.10 S.File.FileRename / S.File.ASFileRename ................................................... B-22
B.3.11 S.File.SeqWrite / S.File.ASSeqWrite ............................................................ B-23
B.3.12 S.File.SeqRead / S.File.ASSeqRead ............................................................ B-24
B.3.13 S.File.FormatFS ............................................................................................ B-25
B.3.14 S.File.CompressFS ....................................................................................... B-26
B.3.15 S.File.EnableAutoCompress ......................................................................... B-26
B.3.16 S.File.GetSizeFS........................................................................................... B-28
B.3.17 S.File.GetReleasedSize ................................................................................ B-29
B.3.18 S.File.GetDevInfo .......................................................................................... B-30
B.3.19 S.File.GetDevState ....................................................................................... B-31
B.3.20 S.File.GetIndexedFileProp ............................................................................ B-32
B.3.21 S.File.StoreString / S.File.ASStorString ........................................................ B-33
B.4 Template texts ................................................................................................ B-35
C Appendix
C.1 Icons ............................................................................................................... C-1
C.2 Contact ........................................................................................................... C-2