MC_GrpSetOverride

PLCopen motion icon Pipe Network motion icon

 Function BlockClosed A function block groups an algorithm and a set of private data. It has inputs and outputs. - Sets the velocityClosed 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

EnableClosed Enable signal for the drive, Hardware-Enable with 24V signal to X8, Software-Enable command by setup Software, fieldbus or permanently set. Both are required for enabling the drive.

BOOL

FALSE, TRUE

N/A

No default

On the rising edgeClosed The transition of a digital signal from low to high. AKA: positive 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 functionClosed 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.

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.
  • 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_ILClosed 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

MC_ErrorDescription