SMC_IGSentenceModifier.Call (METH)ΒΆ

METHOD Call

Called cyclically to process sentences from sentencesIn to sentencesOut. The implementation should read the sentences in sentencesIn, and append (possibly modified) sentences to sentencesOut. The processed sentences need to be removed from sentencesIn.

InOut:

Scope

Name

Type

Comment

Inout

sentencesIn

SMC_GSentenceQueue

Input sentence queue

sentencesOut

SMC_GSentenceQueue

Output sentence queue

errorPos

SMC_NC_SourcePosition

Out: error position in case of error

Output

Done

BOOL

All sentences have been processed and no new sentences will be appended. Should be set if sentencesIn is empty and has EndOfData set, and there are no pending sentences due to the state of the modifier function block.

Error

BOOL

An error has occurred

ErrorID

SMC_ERROR

Error-ID