MC_GrpDisable
This is an administrative function block which sets the axis group to the “GroupDisabled” state.
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 | Rising edge sets the axes group to the “GroupDisabled” state. |
VAR_OUTPUT | ||
Variable name | Data type | Description |
Done | BOOL | TRUE indicates that axes group is set to the “GroupDisabled” state. |
Busy | BOOL | TRUE indicates that the FB is executing a job. |
Error | BOOL | TRUE indicates that an error occurred. |
ErrorID | WORD | Error code |
Behaviour of the FB:
- The command of this FB can only be executed successfully if the axis group is in the “GroupStandby“ state or is already in the “GroupDisabled“ state.
- In the “GroupDisabled” state, only commands of the FBs MC_AddAxisToGrp, MC_RemAxisFromGrp, MC_UngroupAllAxes or MC_GrpEnable can be executed successfully. No motion commands are therefore possible.