MC_AddAxisToGroup (FB)ΒΆ

FUNCTION_BLOCK MC_AddAxisToGroup

This function block adds one axis to an axis group.

If the state of the axis group is not GroupDisabled, an error is created and the axis is not added to the group.

This is an administrative FB, since no movement is generated. The command cannot be buffered.

InOut:

Scope

Name

Type

Comment

Inout

AxisGroup

AXIS_GROUP_REF_SM3

Reference to a group of axes

Axis

AXIS_REF_SM3

Reference to the axis to be added

Input

Execute

BOOL

Start the grouping process at the rising edge

Output

Done

BOOL

The axis has been added

Busy

BOOL

The FB is not finished

Error

BOOL

Signals that an error has occurred within the function block

ErrorID

SMC_ERROR

Error identification