MC_GroupContinue (FB)ΒΆ

FUNCTION_BLOCK MC_GroupContinue

This function block transfers the axis group back to the situation stored in the continueData.

It immediately returns CommandAborted if MC_GroupStop is active. An error is returned if the axis group is not in state GroupStandby. The axis group must be at the continue-position, which is stored in continueData. (See SMC_GroupGetContinuePosition.) If a CP-tracking-movement is to be continued, the axis group needs to be following the PCS at this position, otherwise the axes must be in state standstill.

..note::

The continue data can be recorded using MC_GroupInterrupt or SMC_GroupInterruptAt, by calling SMC_GroupSaveContinueData, or automatically on an axis group error when enabled, see SMC_GroupEnableResumeAfterError.

..note::

When trying to continue from a position in a dynamic coordinate system, the continue data has to be updated using SMC_GroupUpdateContinueData

InOut:

Scope

Name

Type

Comment

Inout

AxisGroup

AXIS_GROUP_REF_SM3

Reference to a group of axis

Inout Const

continueData

SMC_AXIS_GROUP_CONTINUE_DATA

The continue data stored by MC_GroupInterrupt.

Input

Execute

BOOL

Starts the function block on rising edge

Output

Done

BOOL

The operation has been finished successfully

CommandAborted

BOOL

The command is aborted by another FB

Busy

BOOL

The FB is not finished

Error

BOOL

Signals that an error has occurred within the function block

ErrorID

SMC_ERROR

Error identification