MC_AddAxisToGroup

Function block MC_AddAxisToGroup
Adds an axis to a group. This command can't be buffered.
VAR_IN_OUT
B GroupIn AXES_GROUP_REF Reference to a group of axes. References are zero based. You can have up to 32 groups.
B AxisIn AXIS_REF Reference to the axis to be added. Each group can contain up to 64 axes.
VAR_INPUT
B Execute BOOL Starts the grouping process at the rising edge.
E IdentInGroup IDENT_IN_GROUP_REF Identifies the axis in the group.
VAR_OUTPUT
B Done BOOL AXES_GROUP_REF is valid and the axis added.
E Busy BOOL The function block is not finished.
B Error BOOL Signals that an error has occurred within the function block.
E ErrorID MC_Error Error identification.
  • It can only be used in the GroupDisabled state.
  • Each IdentInGroup can be used only once, otherwise it leads to an error.

 

  MC_AddAxisToGroup  
AXES_GROUP_REF   GroupIn   Group   AXES_GROUP_REF
AXIS_REF   AxisIn   Axis   AXIS_REF
BOOL   Execute   Done   BOOL
IDENT_IN_GROUP_REF   IdentInGroup   Busy   BOOL
        Error   BOOL
        ErrorID   MC_Error