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
sentencesOutThe output sentence queue
sentencesInThe input sentence queue
Input
bExecuteBOOLWhile
TRUE, the function block is active.Output
bBusyBOOLTRUEwhile execution of function block is not finished.bErrorBOOLTRUEsignals that an error has occurred within the function block.ErrorIDSMC_ERRORError identification,
SMC_ERRORerrorPosThe source-position where an error has been detected.
numHitsUDINTThe number of jump targets found in the buffer. Reset at rising edge of bExecute.
numMissesUDINTThe number of jump targets not found in the buffer. Reset at rising edge of bExecute.