FUNCTION_BLOCK SMC_FileStream IMPLEMENTS SMC_ITextStream
Opens a file and presents the file contents as a stream of characters
InOut:
Scope |
Name |
Type |
Comment |
Input |
bExecute |
BOOL |
Rising Edge: Starts operation |
sFileName |
STRING(255) |
Absolute or relative file path to the input file |
|
Output |
bDone |
BOOL |
|
bBusy |
BOOL |
||
bError |
BOOL |
||
ErrorID |
SMC_ERROR |
||
stream |