IModule.CallPrioHighStart (METH) ¶ METHOD CallPrioHighStart : BOOL Called at the start of the high priority task if one is defined. Note : the return value is not used. InOut: Scope Name Type Return CallPrioHighStart BOOL
IModule.CallPrioLowEnd (METH) ¶ METHOD CallPrioLowEnd : BOOL Called at the end of the low priority task if one is defined. Note : the return value is not used. InOut: Scope Name Type Return CallPrioLowEnd BOOL
IModule.CallPrioLowStart (METH) ¶ METHOD CallPrioLowStart : BOOL Called at the start of the low priority task if one is defined. Note : the return value is not used. InOut: Scope Name Type Return CallPrioLowStart BOOL
Flush (FB; Prefix filfl) ¶ FUNCTION_BLOCK Flush EXTENDS CBM.ETrig Flush write buffer of an opened file to disk. InOut: Scope Name Type Comment Input hFile CAA.HANDLE File handle Output eError ERROR Local library error ID (0: no error; 5101: time out)
GetAttribute (FB) ¶ FUNCTION_BLOCK GetAttribute EXTENDS CBM.ETrig With this function block file attributes can be obtained. InOut: Scope Name Type Comment Input hFile CAA.HANDLE File handle Output eError ERROR Local library error ID (0: no error; 5101: time out) eFileAttrib ATTRIB File attributes, FILE_ARCHIVE, FILE_HIDDEN, FILE_NORMAL, FILE_READONLY
GetPos (FB; Prefix filgp) ¶ FUNCTION_BLOCK GetPos EXTENDS CBM.ETrig This function block returns the offset position currently set in the file. The file must be opened via FILE. Open . InOut: Scope Name Type Comment Input hFile CAA.HANDLE File handle Output eError ERROR Local library error ID (0: no error; 5101: time out) udiPos __UXINT Offset position; Number of bytes from the start of the file
GetSize (FB; Prefix filgs) ¶ FUNCTION_BLOCK GetSize EXTENDS CBM.ETrig This function block returns the size of the file specified by “ sFileName “. InOut: Scope Name Type Comment Input sFileName CAA.FILENAME File name Output eError ERROR Local library error ID (0: no error; 5101: time out) szSize CAA.SIZE Actual file size in bytes
GetTime (FB; Prefix filgt) ¶ FUNCTION_BLOCK GetTime EXTENDS CBM.ETrig This function block returns date and time of the last modification of the file specified by “ sFileName “ InOut: Scope Name Type Comment Input sFileName CAA.FILENAME File name Output eError ERROR Local library error ID (0: no error; 5101: time out) dtLastModification DT Date and time of last modification, for example dt#2006-05-08-00:00:00