SMC_StringStream (FB)ΒΆ
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
bExecuteBOOLsNameSTRING(255)A name that describes the contents of the stream (e.g. the name of the underlying data source of the strings)
bNewDataBOOLIf
TRUE, the new data insDatais copied to the stream.sDataSTRING(255)The data to be copied to the stream
bEndOfDataBOOLIf
TRUE, the end of data flag of the stream is set.Output
bDoneBOOLbBusyBOOLbErrorBOOLErrorIDSMC_ERRORbResetBOOLData is requested again (from the beginning). Necessary for G20. Becomes FALSE when called with bExecute = TRUE again.
stream
Properties:
Structure: