MC_SetOverride

PLCopen motion icon

 Function Block - Writes velocity and acceleration override factors.

command velocity = programmed velocity * VelFactor 

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

Enable

BOOL

FALSE, TRUE

N/A

No default

Request to write the override factors.

Axis

AXIS_REF

1 to 256

N/A

No default

Name of a declared instance of the AXIS_REF library function.

VelFactor

REAL

0.0 to 2.0

N/A

No default

Velocity override factor.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

Enabled

BOOL

FALSE, TRUE

N/A

Indicates the override values have been written.

Busy

BOOL

FALSE, TRUE

N/A

Indicates this function block is executing.

Error

BOOL

FALSE, TRUE

N/A

Indicates an invalid input was specified.

ErrorID

INT

 

 

 

 

FBD Language Example

Not available.

FFLD Language Example

IL Language Example

Not available.

ST Language Example

            (* MC_SetOverride ST example *)
            
VelFactor := 1.25 ; //set the velocity factor to 1.25 (125%)
Inst_MC_SetOverride( TRUE , Axis1, VelFactor ); // Inst_MC_Setoverride is an instance of MC_SetOverride