MC_SetOverride
With the FB MC_SetOverride a weighting factor, which affects the commanded velocity, is set.
Block diagram
Parameter of the FB
VAR_IN_OUT | |||
| Axis | AXIS_REF | Axis reference |
VAR_INPUT | |||
| Enable | BOOL | If this value is set to TRUE the weighting factor is applied to the commanded velocity. |
| VelFactor | LREAL | Range [0.0 .. P-AXIS-00109/ 1000] |
VAR_OUTPUT | |||
| Enabled | BOOL | If this value signs TRUE the weighting factor at the input is continuously applied to the axis. |
| Error | BOOL | Indicates if an error has occurred. |
| ErrorID | WORD | Error identification. |
Behavior of the FB
- This function does not affect axes which reside in state ‘SYNCHRONIZED_MOTION’!
Note: Applications in packaging environment often consist of machine elements, that interact closely with other machine elements and are synchronized by a Cam/Gear-coupling. Loosing the synchronization of this coupling leads in many cases to severe machine damage. Therefore the implementation of the MCP prohibits that axis specific override has influence onto the Cam/Gear slave axis, because this violates the coupling directive. - ‘VelFactor’ always may be set, if ISG-MCP has been initialised correctly.
- If the value of ‘VelFactor’ is larger than P-AXIS-00109/1000 the value will be restricted to P-AXIS-00109/1000 (typical maximum value is 200%).
- The given value at the input
VelFactor
is cyclically applied to the axis if the inputEnable
is set to TRUE. IfEnabled
changes from TRUE to FALSE the applying velocity weighting factor is set to the value which was set at the inputVelFactor
while the transition at the inputEnabled
occurred.