MC_Power
This function block controls the enable of the device.

Observe the following information when using the function block:
- Enable does not enable the function block but the device.
- If MC_Power is called with Enable TRUE while the device is in the "Disabled" state, the axis state changes to "Standstill".
- If the enable is canceled on the device (e.g. by STO), a transition to the "ErrorStop" state takes place.
- Only one instance of MC_Power may be called per device.
VAR_IN_OUT
Variable name | Data type | Description |
|---|---|---|
Axis | AXIS_REF | Reference to a logical device See also AXIS_REF. |
VAR_INPUT
Variable name | Data type | Description |
|---|---|---|
Enable | BOOL | Enable or disable drive |
DisabledMode | E_DisabledMode | Type of stop and inverter status in the not enabled state:
|
VAR_OUTPUT
Variable name | Data type | Description |
|---|---|---|
Status | BOOL | Enable status of the axis |
Valid | BOOL | Outputs are valid |
Error | BOOL | An error has occurred in the function block |
ErrorID | WORD | Error number |
