MC_SetOverride (FB)

FUNCTION_BLOCK MC_SetOverride

This function block sets the values of override for the whole axis and all functions that are working on that axis.

The override parameters act as a factor that is multiplied to the commanded velocity, acceleration, deceleration and jerk of the move function block.

../../../../../../_images/plcopen.png
  • The input AccFactor acts on positive and negative acceleration (deceleration).

  • This function block sets the factor. The override factor is valid until a new override is set.

  • The default values of the override factors are 1.0.

  • The value of the overrides can be between 0.0 and 1.0. Values > 1.0 and values < 0.0 are not allowed. The value 0.0 is not allowed for AccFactor and JerkFactor.

  • Override does not act on slave axes. (Axes in the state Synchronized Motion).

  • The function block does not influence the single axis state diagram.

  • The override factors are just effective to modify the velocity, acceleration, deceleration and jerk which are provided as explicit values by PLCopen function blocks. They do not modify a movement which is commanded by other means as camming, gearing, profiling, where no explicit velocity, acceleration, deceleration and jerk is in place

InOut:

Scope

Name

Type

Initial

Comment

Input

Enable

BOOL

If TRUE, it writes the value of the override factor continuously. If FALSE it should keep the last value

VelFactor

LREAL

1

New override factor for the velocity, Range: =0.0, >0.0, <1.0

AccFactor

LREAL

1

New override factor for the acceleration or deceleration, Range: >0.0, < 1.0

JerkFactor

LREAL

1

New override factor for the jerk, Range: >0.0, <1.0

Output

Enabled

BOOL

The block is enabled and working

Error

BOOL

Signals that error has occurred within function block

ErrorID

ERROR_ID

Error identification. For error details refer to Enumeration ERROR_ID

Inout

Axis

Axis_Ref

Reference to axis