MC_GrpSetOverride
Function Block A function block groups an algorithm and a set of private data. It has inputs and outputs. - Sets the velocity For a group of axes this means: In ACS the velocities of the different axes. In MCS and PCS it provides the velocity of the TCP factor that is multiplied to the commanded velocity of all axes in the group.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
BOOL |
FALSE, TRUE |
N/A |
No default |
On the rising edge The transition of a digital signal from low to high. AKA: positive edge., changes the velocity multiplier for the axes group. |
|
AxesGroup |
No range |
N/A |
No default |
The axes group the velocity multiplier is applied to. |
|
VelFactor |
REAL |
0.0 to 2.0 |
N/A |
No default |
The new multiplier factor for the commanded velocity of the axes group. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Enabled |
BOOL |
FALSE, TRUE |
N/A |
Indicates that the override was successful. |
Busy |
BOOL |
FALSE, TRUE |
N/A |
If TRUE, the function A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. block is executing. |
Error |
BOOL |
FALSE, TRUE |
N/A |
If TRUE, an error has occurred. |
ErrorID |
INT |
-32768 to +32767 |
N/A |
Indicates the error if Error output is TRUE. |
Remarks
- See Coordinated Motion, the top-level topic for Coordinated Motion.
- See Function Blocks - General Rules about how inputs and outputs work.
- MC_GrpSetOverride sets the velocity factor that is multiplied to the commanded velocity of all axes in the group.
- This function or function block does not generate any motion.
Figure 1: MC_GrpSetOverride
FBD Language Example
FFLD Language Example
IL Language Example
BEGIN_IL Instruction list - This is a low-level language and resembles assembly.
CAL Inst_MC_GrpSetOverride( EnableOverride, Group1_Ref, VelocityFactor )
END_IL
ST Language Example
Inst_MC_GrpSetOverride( EnableOverride, Group1_Ref, VelocityFactor );
See Also