FUNCTION_BLOCK SMC_StringStream IMPLEMENTS SMC_ITextStream
This function block that reads strings and presents the contents as a stream of characters to other function blocks such as SMC_ReadNCFromStream.
InOut:
Scope |
Name |
Type |
Comment |
Input |
bExecute |
BOOL |
|
sName |
STRING(255) |
A name that describes the contents of the stream (e.g. the name of the underlying data source of the strings) |
|
bNewData |
BOOL |
If TRUE, the new data in sData is copied to the stream. |
|
sData |
STRING(255) |
The data to be copied to the stream |
|
bEndOfData |
BOOL |
If TRUE, the end of data flag of the stream is set. |
|
Output |
bDone |
BOOL |
|
bBusy |
BOOL |
||
bError |
BOOL |
||
ErrorID |
SMC_ERROR |
||
stream |