SMC_GroupInterruptAt (FB)ΒΆ
FUNCTION_BLOCK SMC_GroupInterruptAt
This is a variant of MC_GroupInterrupt. While MC_GroupInterrupt interrupts the on-going motion immediately, this function block allows specifying the exact position on the path where the motion shall be interrupted.
Note
The position on the path has to be known, i.e. the movement that shall be interrupted has to already be commanded before this function block is executed. Otherwise, an error will be reported.
This function block does not reverse on the path. If it is not possible to reach the specified position without a reversal, the on-going motion is interrupted at the nearest possible position.
- InOut:
Scope
Name
Type
Comment
Inout
AxisGroupReference to a group of axis
continueDataWritten when getting
DoneInput
ExecuteBOOLA rising edge starts the function block.
PositionThe position where the ongoing motion shall be interrupted.
Output
DoneBOOLZero velocity reached
BusyBOOLThe FB is not finished
InterruptingBOOLSignals that the FB is currently interrupting
CommandAbortedBOOLCommand is aborted by another command
ErrorBOOLSignals that an error has occurred within the function block
ErrorIDSMC_ERRORError identification
mvtIdInterruptPositionSMC_Movement_IdMovemnet Id corresponding to the interrupt position