Axis Group Servo OnOff with MC_GroupPower
MC_GroupPower is used to give servo on/off command to axes in an axis group. LS_Connect and MC_GroupEnable must be executed before this function block.
The examples in this topic can be found in the XMC_AxisGroup_FBs.zip downloadable from Example Applications.

Element Name | Element Type | Description |
---|---|---|
Enable | Input | Level detected request to execute the function block. When this input is on, all servos in the group are powered on. When this input is off, those servos are powered off. |
AxesGroup | Input/Output | Set the group to send servo on/off command. Group number 1-16. This must be an UINT variable. |
Status | Output | Indicates the power status of the motion group. |
Valid | Output | Indicates the validity of the function block output. |
Busy | Output | Indicates the function block is in operation. |
Error | Output | Indicates whether an error occurs or not. |
ErrorID | Output | Error Identification number. |

Power On
Axes 1-4 are in Axis Group 1:
All axes powered on by MC_GroupPower.
Power Off
Axes 1-4 are in Axis Group 1:
All axes powered off by MC_GroupPower.
LM706