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
|
SMC_GSentenceQueue
|
The output sentence queue
|
sentencesIn
|
SMC_GSentenceQueue
|
The input sentence queue
|
Input
|
bExecute
|
BOOL
|
While TRUE, the function block is active.
|
Output
|
bBusy
|
BOOL
|
TRUE while execution of function block is not finished.
|
bError
|
BOOL
|
TRUE signals that an error has occurred within the function block.
|
ErrorID
|
SMC_ERROR
|
Error identification, SMC_ERROR
|
errorPos
|
SMC_NC_SourcePosition
|
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.
|
|