# MCV_GrpSetRapidOverride

The FB MCV_GrpSetRapidOverride specifies a weighting factor which acts on the programmed rapid traverse of the specified axis group.

Block diagram

FB parameters

VAR_IN_OUT
Variable name | Data type | Description
AxesGroup | AXES_GROUP_REF | Axis group reference

VAR_INPUT
Variable name | Data type | Description
Enable | BOOL | If TRUE, the value at the “VelFactor“ input is applied to the programmed rapid traverse. The channel parameters P-CHAN-00181 defines the impact of the weighting factor on rapid traverse.
VelFactor | LREAL | Weighting factor for the programmed rapid traverse. The input is defaulted to the value 1.0.

VAR_OUTPUT
Variable name | Data type | Description
Enabled | BOOL | TRUE indicates that the velocity weighting factor is applied to the programmed rapid traverse.
Error | BOOL | TRUE indicates that an error occurred.
ErrorID | WORD | Error identifier

Behaviour of the FB:

- Under no circumstance does the FB change the axes group state. This means that the value 0.0 for “VelFactor” leads to a stop of the axes in the axis group but the state of the axis group does not change after “GroupStop”.
- The value at “VelFactor” retains its validity until a new value is set. Accordingly, if the “Enable” input is set to FALSE, the weighting factor which was last TRUE at “Enable” continues to be valid.