MC_SetOverride, MCP_SetOverride –  Set override factors

Block SymbolsLicensing group: MOTION CONTROL
PIC PIC

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.axisRefuAxis or yAxisuAxis connections are allowed)

Reference

Enable

Block function is enabled

Bool

VelFactor

Velocity multiplication factor

Double (F64)

AccFactor

Acceleration/deceleration multiplication factor

Double (F64)

JerkFactor

Jerk multiplication factor

Double (F64)

Outputs

yAxis

Axis reference (only RM_Axis.axisRefuAxis or yAxisuAxis connections are allowed)

Reference

Enabled

Block function is enabled

Bool

Busy

Algorithm not finished yet

Bool

Error

Error occurred

Bool

ErrorID

Result of the last operation

Error

i ....

REXYGEN general error

Parameter

diff

Deadband (difference for recalculation)   0.0  1.0 0.1

Double (F64)

2024 © REX Controls s.r.o., www.rexygen.com