MC_GrpSetOverride

PLCopen motion icon Pipe Network motion icon

 Function Block - Sets the velocity factor that is multiplied to the commanded velocity of all axes in the group.

Inputs

Input

Data Type

Range

Unit

Default

Description

Enable

BOOL

FALSE, TRUE

N/A

No default

On the rising edge, changes the velocity multiplier for the axes group.

AxesGroup

AXES_GROUP_REF

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 block is executing.

Error

BOOL

FALSE, TRUE

N/A

If TRUE, an error has occurred.

ErrorID

INT

Enumerated

N/A

Indicates the error if Error output is TRUE.

See PLCopen Function Block ErrorIDs.

Remarks

  • See Coordinated Motion, the top-level topic for Coordinated Motion.
  • See Function Blocks - General Rules about how inputs and outputs work.
  • Changing the velocity factor during an S-Curve Corner transition does not change the profile of the transition.
    • The new velocity factor is applied after the S-Curve Corner transition completes.
  • This function or function block does not generate any motion.

Figure 1: MC_GrpSetOverride

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

Inst_MC_GrpSetOverride( EnableOverride, Group1_Ref, VelocityFactor );

See Also

MC_ErrorDescription