MC_LoadControl (FB)

FUNCTION_BLOCK MC_LoadControl

This function block commands a controlled torque/force/pressure movement.

../../../../../_images/plcopen.png

This function block continuously exerts a torque or force or pressure of the specified magnitude. This magnitude is approached using a defined ramp (‘LoadRamp’), and the function block sets the ‘InLoad’ output if the commanded load level is reached. Positive torque, force and differential pressure is in the positive direction of velocity, pressure is physically unsigned.

Example

The function block LoadControl provides base functionality for any application in which the devolution of forces, torque or pressures provided by an axis to a process has to be actively defined and controlled (e.g. in presses).

../../../../../_images/MC_LoadControl_Ex1.jpg

Note

Using this command leads to undefined motion of the axis, unless other (motion controlled) axes or mechanical structures (arrester) are involved.

InOut:

Scope

Name

Type

Initial

Comment

Input

Execute

BOOL

Starts the function block at rising edge

ContinuousUpdate

BOOL

Decide if new input parameters are processed during the movement. This input is checked only when Execute gets TRUE

Load

LREAL

[u] = technical unit. Value of the load, Torque/ Force/ Pressure. Positive and negative values are allowed

LoadRamp

LREAL

[u/s] = technical unit. Absolute value of the input is considered. If LoadRamp = 0, will result in a jump for load- change, as fast as possible

Direction

MC_Direction

Default

Input Load itself is a signed value. “Direction” applies to the movement for, required load to reach with a positive or negative reference or any direction required.
  • DEFAULT: The required load will be reached, no matter what direction movement is required

  • POSITIVE: The required load will be reached just when it is possible to do so with movement in positive direction

  • NEGATIVE: The required load will be reached just when it is possible to do so with movement in negative direction

BufferMode

MC_BufferMode

Not supported, default mcABORTING used

Output

InLoad

BOOL

Commanded load finally reached, the actual load can be different

Busy

BOOL

The function block is not finished

Active

BOOL

Indicates that the function block has control on the axis

CommandAborted

BOOL

Command is aborted by another command from other PLCopen function block

Error

BOOL

Signals that error has occurred within function block

ErrorID

AC500_MotionControl.ERROR_ID

Error identification. For error details refer to enumeration ERROR_ID from AC500_MotionControl library

Inout

Load_Axis

Load_Ref

Reference to axis