MC_Power (motion control power)
The MC_Power instruction controls the power stage, ON or OFF.
Operation details:
- After axis power On completes, the axis Homed status is reset to 0 (not homed).
- The Enable_Positive input and the Enable_Negative input for MC_Power are both level triggered and are checked when the Enable input changes from OFF to ON. The on-the-fly change for the Enable_Positive input and the Enable_Negative input without Enable input toggling is not checked.
- If power fails during operation (when Servo ready has been detected), the axis state changes to Error Stop.
- The MC_Power instruction has a timeout value of 2 minutes. MC_Power returns an error when the timeout period expires and Drive Ready Input is FALSE.
- If an MC_Power function block with Enable set to True is called while the axis state is Disabled, the axis state changes to Standstill unless an error is detected, in which case the axis state changes to Error Stop.
- Only one MC_Power function block should be issued per axis. If a different MC_ Power function block is used to control the same axis simultaneously, it is rejected by the Motion Engine.
- When there is a Power On or Off state switch for an axis, the absolute axis position is not reset.
- If an MC_Power function block with Enable set to False is called, the axis state changes to Disabled for every state including Error Stop.
- The MC_Power function block can power on the axis if Enable is set to True and power off the axis if Enable is set to False.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L50E and L70E controllers that support motion control.
MC_Power

Parameter | Parameter Type | Data Type | Description |
---|---|---|---|
EN | Input | BOOL | Instruction block enable.
Applies only to ladder diagram programs. |
AxisIn | Input | AXIS_REF FB_AXIS_REF | Use the AXIS_REF data type parameters to define AxisIn. For an FB_Axis (feedback axis), use the FB_AXIS_REF data type to define AxisIn. |
Enable | Input | BOOL |
|
Enable_Positive | Input | BOOL | TRUE: Motion is allowed in the positive direction. |
Enable_Negative | Input | BOOL | TRUE: Motion is allowed in the negative direction. |
ENO | Output | BOOL | Enable output. Applies only to ladder diagram programs. |
Axis | Output | AXIS_REF | Axis output is read-only in ladder diagram programs. AXIS_REF data type. |
Status | Output | BOOL | State of the power stage:
|
Busy | Output | BOOL |
|
Active | Output | BOOL | TRUE: Indicates that the function block has control on the axis. |
Error | Output | BOOL | Indicates that an error occurred.
|
ErrorID | Output | UINT | A unique numeric that identifies the error. The errors for this instruction are defined in Motion control function block error IDs. |
MC_Power examples
MC_Power function block diagram example

MC_Power ladder diagram example

MC_Power structured text example

Results

Provide Feedback