Dynamic Adaptation with MC_SetOverride
The dynamics (velocity, acceleration, and jerk) of the active and future movements can be adapted by using MC_SetOverride. An adaptation of the dynamics always means a reduction as compared to the originally commanded movement (factors greater than 1 are not permitted). This allows machine operators to temporarily stop a movement (VelFactor = 0
) or execute it with reduced dynamic values, for example to check new movement sequences.
The adaptation of the dynamics with MC_SetOverride
and the resulting adaptation of the trajectory take effect directly in the same cycle. The requirement for this is that MC_SetOverride
is called before the active movement function block.
For more information, see also the example Velocity Override for SoftMotion Axes.
Supported function blocks
Function Block | Support: | Comment |
---|---|---|
| -- |
|
| ✓ | The velocity factor has no effect. |
| ✓ | |
| ✓ | |
| ✓ | |
| ✓ | |
| ✓ | |
| ✓ | |
| ✓ | |
| O | The dynamic factors have an effect only if the |
| -- | The homing is executed independently by the drive so that the dynamic factors of |
| -- | We recommend using |
| O | The dynamic factors no longer have an effect as soon as the movement is synchronized ( |
| -- |
|
| O | The dynamic factors no longer have an effect as soon as the movement is synchronized ( |
| -- | In contrast to |
| -- | These function blocks write the set values of the axis (for example, |
| O | The dynamic factors no longer have an effect as soon as the movement is synchronized ( |
| -- | The dynamic factors do not have an effect on synchronized movements. Therefore, this function block ignores the dynamic factors of |
Exceeding the target position or target velocity by changing the dynamic factors
Important
If the acceleration factor and/or the jerk factor is reduced during an active movement, then the target position or target velocity may be temporarily exceeded. This can lead to damage to the machine.
With SMC_MoveContinuousAbsolute
and SMC_MoveContinuousRelative
, a change of the velocity factor can also lead to the limits being exceeded or to a reversal. More details can be found in the documentation of the two function blocks.
Effect of the velocity profile on the use of MC_SetOverride
It is generally recommended to use MC_SetOverride
together with a trapezoidal or quadratic velocity profile of the axes. Quadratic-smoothed and sin² velocity profiles do not respond well to restarting or interrupting the movement in certain cases (see Interruption of Movements). Because a change to the override is equivalent to a restart of the movement with changed limits, it is also possible for the commanded limits to be exceeded when using these velocity profiles in combination with MC_SetOverride
.
Effect of MC_SetOverride on coordinated movements with an axis group
Coordinated movements with an axis group (for example, MC_MoveLinearAbsolute
) consider the overrides set with MC_SetOverride
for each axis during movement planning. Conversely, MC_GroupSetOverride
overwrites the overrides of each axis of the axis group.