MC_GrpEnable

This is an administrative FB that sets the axis group to the “GroupStandby” state. This function block must always be commanded whenever the axis group is in the “GroupDisabled” state since no motion job is accepted in the “GroupDisabled” state.

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

Rising edge sets the axis group to the “GroupDisabled” state.

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

TRUE indicates that axis group is set to the “GroupDisabled” state.

Busy

BOOL

TRUE indicates that the FB is executing a job.

Error

BOOL

TRUE indicates that an error occurred.

ErrorID

WORD

Error code