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
|
|