L_MC1P_FollowSetValues

This FB provides a cyclic interface for setpoints generated from the application.

The eSetValueMode input can be used to select which signals are defined from the application. Non-used signals are automatically generated.

The xContinuousUpdate input can be used to select whether the values are to be transferred only once or in every cycle.

 

 

 

L_MC1P_FollowSetValues

 

 

 

AXIS_REF

-

Axis

xBusy

-

BOOL

BOOL

-

xExecute

xCommandAborted

-

BOOL

BOOL

-

xContinuousUpdate

xError

-

BOOL

LREAL

-

lrPosition

eErrorID

-

L_IE1P_Error

LREAL

-

lrVelocity

LREAL

-

lrAcceleration

L_MC1P_SetValueMode

-

eSetValueMode

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

xExecute

BOOL

FALSE รค TRUE

Start execution of the function block.

xContinuousUpdate

BOOL

Transfer of the profile parameters

FALSE

Once: The profile parameters ( lrPosition , lrVelocity , lrAcceleration ) are transferred to xExecute on a rising edge.

TRUE

In every cycle: The profile parameters are transferred continuously, i.e. the motion profile may change during execution.

lrPosition

LREAL

Setpoint position in [unit]

lrVelocity

LREAL

Setpoint velocity in [unit/s]

lrAcceleration

LREAL

Setpoint acceleration in [unit/s 2 ]

eSetValueMode

L_MC1P_SetValueMode

Mode for the setpoint selection:

  • Pos: Position
  • Vel: Velocity
  • PosVel: Position + velocity
  • VelAcc: Velocity + acceleration
  • PosVelAcc: Position + velocity + acceleration
Outputs

Name

Data type

Value/meaning

xBusy

BOOL

TRUE

Processing is running.

xCommandAborted

BOOL

TRUE

The command was aborted by another FB.

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

If xError = TRUE: Error number for the error that has occurred.