MC_SetOverride

Function block MC_SetOverride
Sets the override values for the whole axis, and all functions that are working on that axis. The override parameters contribute as a factor to the calculation of the commanded velocity, acceleration and jerk of the motion.
VAR_IN_OUT
B AxisIn AXIS_REF Reference to an axis.
VAR_INPUT
B Enable BOOL If TRUE, it writes the value of the override factor continuously. If FALSE it should keep the last value.
B VelFactor LREAL New override factor for the velocity.
E AccFactor LREAL New override factor for the acceleration or deceleration.
E JerkFactor LREAL New override factor for the jerk.
VAR_OUTPUT
B Enabled BOOL Signals that the override factors are set successfully.
E Busy BOOL The function block is not finished and new output values are to be expected.
B Error BOOL Signals that an error has occurred within the function block.
E ErrorID MC_Error Error identification.
  1. It changes the velocity, acceleration and jerk without changing their original values. This command takes effect immediately after it is sent. If it is used while the axis is in motion, the current motion will be changed. To avoid the unexpected result, we suggest using it in the Standstill state.
  2. The input AccFactor acts on positive and negative acceleration (deceleration).
  3. This function block sets the factor. The override factor is valid until a new override is set.
  4. The default values of the override factor are 1.0.
  5. The value of the overrides can be between 0.0 and 1.0. The behavior of values > 1.0 is vendor specific. Values < 0.0 are not allowed. The value 0.0 is not allowed for AccFactor and JerkFactor.
  6. The value 0.0 set to the VelFactor stops the axis without bringing it to the state Standstill.
  7. Override doesn't act on slave axes (axes in the state Synchronized Motion).
  8. The function block doesn't influence the state diagram of the axis.
  9. VelFactor can be changed at any time and acts directly on the ongoing motion.
  10. If in "Discrete" motion, reducing the AccFactor and/or JerkFactor can lead to a position overshoot – a possible cause of damage.

 

  MC_SetOverride  
AXIS_REF   AxisIn   Axis   AXIS_REF
BOOL   Enable   Enabled   BOOL
LREAL   VelFactor   Busy   BOOL
LREAL   AccFactor   Error   BOOL
LREAL   JerkFactor   ErrorID   MC_Error