MC_GroupInterrupt (FB)¶
FUNCTION_BLOCK MC_GroupInterrupt
This function block interrupts the on-going motion.
It stops the group from moving, however does not abort the interrupted
motion (meaning that at the interrupted FB the output CommandAborted
will not be set and Busy is still high).
To continue from the saved state, use MC_GroupContinue.
Issuing MC_GroupContinue with the information written by this FB
transfers the axis group back to the situation at issuing
MC_GroupInterrupt.
Bemerkung
If a CP-tracking-movement is active, we halt on the path, thus not with respect to the MCS.
Interrupting can only be aborted by
MC_GroupStop.This FB immediately returns
CommandAborted, if anotherMC_GroupInterruptorMC_GroupStopis active.The FB SMC_GroupSaveContinueData is not required for MC_GroupInterrupt/MC_GroupContinue. The continue data is written once the
Doneoutput of MC_GroupInterrupt is set toTRUE.
- InOut:
Scope
Name
Type
Comment
Inout
AxisGroupReference to a group of axis
continueDataWritten when getting
DoneInput
ExecuteBOOLA rising edge starts the function block.
Output
DoneBOOLZero velocity reached
BusyBOOLThe FB is not finished
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