FC_ProfileSetLambda - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Set profile turning point.

Description

This function moves the turning point i_lrLambda of a profile i_diProfileId.

Interface

Input

Data type

Description

i_diProfileId

DINT

Logical address of the profile

i_lrLambda

LREAL

Turning point

Return Value

Data type

Description

DINT

0: OK

-1: i_diProfileId invalid

-2: Lambda out of range (<0 or >1)

-30: The profile is being used by another function and therefore blocked

Examples

 FC_ProfileSetLambda(ProfilId, 0.75);  
  • Rest to rest: Lambda 0.5

  • Rest to velocity: Lambda 1.0

  • Velocity to rest: Lambda 0.0