MC_RemoveAxisFromGroup (FB)

FUNCTION_BLOCK MC_RemoveAxisFromGroup

This function block removes one axis from an axis group.

If the state of the axis group is not GroupDisabled, an error is created and the axis is not removed from 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 removed

Input

Execute

BOOL

Start the removal process at the rising edge

Output

Done

BOOL

The axis has been removed

Busy

BOOL

The FB is not finished

Error

BOOL

Signals that an error has occurred within the function block

ErrorID

SMC_ERROR

Error identification