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.
When enabling the axis group, the first n axes added to the group will be the axes of the kinematics. All subsequently added axes are additional axes.
This is an administrative FB, since no movement is generated. The command cannot be buffered.
- InOut:
Scope
Name
Type
Comment
Inout
AxisGroupReference to a group of axes
AxisAXIS_REF_SM3Reference to the axis to be added
Input
ExecuteBOOLStart the grouping process at the rising edge
Output
DoneBOOLThe axis has been added
BusyBOOLThe FB is not finished
ErrorBOOLSignals that an error has occurred within the function block
ErrorIDSMC_ERRORError identification