MC_Power

Function block MC_Power
Enables or disables the operation of an axis.
VAR_IN_OUT
B AxisIn AXIS_REF Reference to an axis.
VAR_INPUT
B Enable BOOL TRUE to enable the axis, FALSE to disable the axis.
E EnablePositive BOOL TRUE to let the axis move into the positive direction.
E EnableNegative BOOL TRUE to let the axis move into the negative direction.
VAR_OUTPUT
B Status BOOL Effective state of the power stage.
E Valid BOOL TRUE if a valid output is available at the function block.
B Error BOOL Signals that an error has occurred within the function block.
E ErrorID MC_Error Error identification.
  • The Enable input enables the power stage in the drive and not the function block (FB) itself.
  • If the MC_Power FB is called with the Enable = TRUE while being in Disabled, the axis state changes to Standstill.
  • You can use other FB that includes a timer to detect whether the Enable input is TRUE. If the Enable output is FALSE within the time specified (ex: 1 second), an alarm will be triggered.
  • If power fails (also during operation) it will generate a transition to the ErrorStop state.
  • EnablePositive and EnableNegative are both level sensitive.
  • EnablePositive and EnableNegative can both be TRUE.
  • Only 1 FB MC_Power should be sent per axis.

 

  MC_Power  
AXIS_REF   AxisIn   Axis   AXIS_REF
BOOL   Enable   Status   BOOL
BOOL   EnablePositive   Valid   BOOL
BOOL   EnableNegative   Error   BOOL
        ErrorID   MC_Error