MC_GrpSetOverride
Description
MC_GrpSetOverride sets the velocity factor that is multiplied to the commanded velocity of all axes in the group. This function block in itself does not cause any motion.
Figure 8-179: MC_GrpSetOverride
Related Functions
Coordinated Motion, the top-level topic for Coordinated Motion.
See Also
Arguments
For more detail on how inputs and outputs work, refer to PLCopen Function Blocks - General Rules.
Input
Enable | Description | On the rising edgeA rising edge is the transition of a digital signal from low to high. It is also called positive edge, changes the velocity multiplier for the axes group. |
Data type | BOOL | |
Range | 0, 1 | |
Unit | N/A | |
Default | — | |
AxesGroup | Description | The axes group in which the velocity multiplier will be applied. |
Data type | AXES_GROUP_REF | |
Range | N/A | |
Unit | N/A | |
Default | — | |
VelFactor | Description | The new multiplier factor for the commanded velocity of the axes group. |
Data type | REAL | |
Range | [0.0 .. 2.0] | |
Unit | N/A | |
Default | — |
Output
Enabled | Description | Indicates that the override was successful. |
Data type | BOOL | |
Busy | Description | If True, then the FB is executing. |
Data type | BOOL | |
Error | Description | If True, an error has occurred. |
Data type | BOOL | |
ErrorID | Description | Indicates the error identifier if Error output is set to TRUE. See the table PLCopen Function Block ErrorID Output. |
Data type | INT |
Example
ST
Inst_MC_GrpSetOverride( EnableOverride, Group1_Ref, VelocityFactor );
IL
BEGIN_IL"Instruction list" This is a low-level language and resembles assembly
CAL Inst_MC_GrpSetOverride( EnableOverride, Group1_Ref, VelocityFactor )
END_IL
FBD
FFLD