MC_SetOverride, MCP_SetOverride – Set override factors
Block SymbolsLicensing group: MOTION CONTROL
Function Description
The MC_SetOverride and MCP_SetOverride blocks offer the same functionality, the only
difference is that some of the inputs are available as parameters in the MCP_ version of the
block.
The MC_SetOverride block sets the values of override for the whole axis, and all functions that are working on that axis. The override parameters act as a factor that is multiplied to the commanded velocity, acceleration, deceleration and jerk of the move function block.
This block is level-sensitive (not edge-sensitive like other motion control blocks). So factors are update in each step while input Enable is not zero. It leads to reacalculation of movement’s path if a block like MC_MoveAbsolute commands the axis. This recalculation needs lot of CPU time and also numerical problem could appear. For this reasons, a deadband (parameter diff) is established. The movement’s path recalculation is proceeded only if one of the factors is changed more then the deadband.
Note: all factor must be positive. Factor greater then 1.0 are possible, but often lead to overshooting of axis limits and failure of movement (with errorID=-700 - invalid parameter; if factor is set before start of block) or error stop of axis (with errorID= -701 - out of range; if factor is changed within movement and actual value overshoot limit).
Inputs
uAxis | Axis reference (only RM_Axis.axisRef–uAxis or yAxis–uAxis connections are allowed) | reference |
Enable | Block function is enabled | bool |
VelFactor | Velocity multiplication factor | double |
AccFactor | Acceleration/deceleration multiplication factor | double |
JerkFactor | Jerk multiplication factor | double |
Outputs
yAxis | Axis reference (only RM_Axis.axisRef–uAxis or yAxis–uAxis connections are allowed) | reference |
Enabled | Block function is enabled | bool |
Busy | Algorithm not finished yet | bool |
Error | Error occurred | bool |
ErrorID | Error code | error |
|
|
|
Parameter
diff | Deadband (difference for recalculation) 0.0 1.0 0.1 | double |
[Previous] [Back to top] [Up] [Next]