MC_RemAxisFromGrp
Removes an axis from the axis group. This is an administrative FB, i.e. no motion job is generated.
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 | The axis is removed from the axis group on a rising edge. |
IdentInGroup | IDENT_IN_GROUP_REF | Identification of the axis in the axis group. |
VAR_OUTPUT | ||
Variable name | Data type | Description |
Done | BOOL | The axis was successfully removed from the axis group. |
Busy | BOOL | TRUE indicates that the function block is executing a job. |
Error | BOOL | TRUE indicates that an error occurred. |
ErrorID | WORD | Error code |
Behaviour of the FB:
- Only the axis name need be specified to remove an axis from an axis group. Therefore, only the “Name” element needs to be assigned accordingly at the “IdentInGroup“ input in the IDENT_IN_GROUP_REF data structure.
Notice
The following conditions must be met to permit this function block to work correctly when the axis reference at the “Axis” input is an axis:
The spindle axis must be notified to the NC channel by specifying it in the channel parameter list (see [FCT-S1//NC spindle]).
The identifier to address the spindle in the channel and defined by the channel parameter P-CHAN-00007 must be formed from the letter “S” followed by the logical axis number of the spindle (P-CHAN-00036). For example, if P-CHAN-00036 = 2, then S2 must be specified for P-CHAN-00007.