SMC_GSentenceJumpBuffer (FB)ΒΆ
FUNCTION_BLOCK SMC_GSentenceJumpBuffer
This function block buffers g-code sentences in order to avoid a full restart of the g-code file on jumps (G20). It must be used before the SMC_NCNavigator function block. Note: this function block is part of SMC_ReadNCFile2, so it is not necessary to instantiate it by hand.
- InOut:
- Scope - Name - Type - Comment - Inout - sentencesOut- The output sentence queue - sentencesIn- The input sentence queue - Input - bExecute- BOOL- While - TRUE, the function block is active.- bAbort- BOOL- If - TRUE, the current processing of this function block is aborted- Output - bBusy- BOOL- TRUEwhile execution of function block is not finished.- bError- BOOL- TRUEsignals that an error has occurred within the function block.- ErrorID- SMC_ERROR- Error identification, - SMC_ERROR- errorPos- The source-position where an error has been detected. - numHits- UDINT- The number of jump targets found in the buffer. Reset at rising edge of bExecute. - numMisses- UDINT- The number of jump targets not found in the buffer. Reset at rising edge of bExecute. 
