Y_GroupPower
This Function Block energizes or de energizes the axes of the specified AxesGroup.
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_IN_OUT | ||||
| B | AxesGroup | AXES_GROUP_REF | A logical reference to a group of axes, which contains several additional substructures pertaining to the group. | |
| VAR_INPUT | ||||
| B | Execute | BOOL | Upon the rising edge, all other function block inputs are read and the function is initiated. To modify an input, change the value and re-trigger the execute input. | FALSE |
| V | Power | BOOL | Sets the desired state of the servo amplifiers for the group. Upon the rising edge of Execute, if Power is high, the servos will be energized. If Power is low, the servos will be de energized. | FALSE |
| VAR_OUTPUT | ||||
| B | Done | BOOL | Set high when the commanded action has completed successfully. If another block takes control before the action is completed, the Done output will not be set. This output is reset when Execute goes low. | |
| B | Busy | BOOL | Set high upon the rising edge of the Execute input, and reset when Done, CommandAborted, or Error is true. In the case of a function block with an Enable input, a Busy output indicates the function is operating, but not ready to provide Valid information. (No Error) | |
| B | Error | BOOL | Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low. | |
| E | ErrorID | UINT | If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low. | |
Notes
- The group need not be enabled for Y_GroupPower to operate.
- If axes making up the group are powered off while the group is enabled (Group.Status.Active = TRUE), group error 8972 occurs. This error can be reset using MC_GroupReset while the group is active.
Related Function Blocks
- MC_GroupReadError : Reports group specific warnings or alarms.
- MC_GroupReset : Clears group specific alarms.
Error Description
See the Function Block ErrorID List.