SysFileWrite (FUN) ¶ FUNCTION SysFileWrite : DWORD InOut: Scope Name Type Comment Return SysFileWrite DWORD Input File DWORD Buffer DWORD Address (ADR) to Buffer Size DWORD
extern30 ¶ AccessMode30 (Enum) FileTime30 (Struct) SysFileClose30 (Function) SysFileCopy30 (Function) SysFileDelete30 (Function) SysFileEOF30 (Function) SysFileGetPos30 (Function) SysFileGetSize30 (Function) SysFileGetTime30 (Function) SysFileOpen30 (Function) SysFileRead30 (Function) SysFileRename30 (Function) SysFileSetPos30 (Function) SysFileWrite30 (Function)
AccessMode30 (ENUM) ¶ TYPE AccessMode30 : AM_READ Open an existing file with Read access. IF file does NOT exist, Open fails AM_WRITE Create new file with Write access.. IF file does exist, content is discarded AM_APPEND Open an existing file with Append (only write) access. IF file does NOT exist, Open fails AM_READ_PLUS Open an existing file with Read/Write access. IF file does NOT exist, Open fails AM_WRITE_PLUS Create new file with Read/Write access. IF file does exist, content is discarded AM_APPEND_PLUS Open an existing file with Append (read/write) access. IF file does NOT exist, Open creates a new file InOut: Name AM_READ AM_WRITE AM_APPEND AM_READ_PLUS AM_WRITE_PLUS AM_APPEND_PLUS
FileTime30 (STRUCT) ¶ TYPE FileTime30 : STRUCT InOut: Name Type tCreation UDINT tLastAccess UDINT tLastModification UDINT
SysFileClose30 (FUN) ¶ FUNCTION SysFileClose30 : RTS_IEC_RESULT InOut: Scope Name Type Return SysFileClose30 RTS_IEC_RESULT Input hFile RTS_IEC_HANDLE
SysFileCopy30 (FUN) ¶ FUNCTION SysFileCopy30 : RTS_IEC_RESULT InOut: Scope Name Type Return SysFileCopy30 RTS_IEC_RESULT Input szDestFileName REFERENCE TO STRING szSourceFileName REFERENCE TO STRING pulCopied POINTER TO UDINT
SysFileEOF30 (FUN) ¶ FUNCTION SysFileEOF30 : RTS_IEC_RESULT InOut: Scope Name Type Return SysFileEOF30 RTS_IEC_RESULT Input hFile RTS_IEC_HANDLE
SysFileDelete30 (FUN) ¶ FUNCTION SysFileDelete30 : RTS_IEC_RESULT InOut: Scope Name Type Return SysFileDelete30 RTS_IEC_RESULT Input szFileName REFERENCE TO STRING
SysFileGetPos30 (FUN) ¶ FUNCTION SysFileGetPos30 : RTS_IEC_RESULT InOut: Scope Name Type Return SysFileGetPos30 RTS_IEC_RESULT Input hFile RTS_IEC_HANDLE pulPos POINTER TO UDINT
SysFileGetSize30 (FUN) ¶ FUNCTION SysFileGetSize30 : UDINT InOut: Scope Name Type Return SysFileGetSize30 UDINT Input szFileName REFERENCE TO STRING pResult POINTER TO RTS_IEC_RESULT