LookDown()

LookDown() 1:

This method translates a slave value to a matching master value. If the value lies between two defined points in the table, the selected operation mode is used for interpolation.

Syntax:

METHOD LookDown : HRESULT
VAR_INPUT
    Slave:              LREAL;
    SlaveVelo:          LREAL;
    fGuidingValue:      REFERENCE TO LREAL;
    fGuidingVelo:       REFERENCE TO LREAL;
    TorqueLimiting:     REFERENCE TO LREAL;
END_VAR 

LookDown() 2: Return value

Name

Type

Description

LookDown 

HRESULT

Return value with feedback on the success of the execution

LookDown() 3: Inputs

Name

Type

Description

Slave

LREAL

Primary slave value

SlaveVelo

LREAL

Tertiary slave value

Notice Only available in second-order equidistant operation mode

fGuidingValue

REFERENCE TO LREAL

Resulting master value for the requested slave value

fGuidingVelo

REFERENCE TO LREAL

Master value for the requested tertiary slave value. This is determined taking into account the first derivative of the primary slave value

Notice Only available in second-order equidistant operation mode

TorqueLimiting

REFERENCE TO LREAL

Secondary slave value for the requested primary slave value

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher