MC_GrpInterrupt

The function block leads to a controlled motion stop. It does not abort an active motion job. This is why the “CommandAborted“ output is not set at the function block whose job is active at this time. However, the “Active” output of this FB is reset and only the “Busy” output remains TRUE.

The axis group itself retains the state which was indicated at the time when the motion was aborted.

To end the effect of the function block, a job is sent by an instance of the MC_GrpContinue FB.

Block diagram

FB parameters

VAR_IN_OUT

Variable name

Data type

Description

AxesGroup

AXES_GROUP_REF

Axis group reference

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

Starts the controlled motion stop on the rising edge.

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

TRUE indicates that the active job was interrupted and the command to stop the axis was activated.

Busy

BOOL

TRUE indicates that the FB is executing a job.

CommandAborted

BOOL

The stop job was aborted by another job.

Error

BOOL

TRUE indicates that an error occurred.

ErrorID

WORD

Error code