Configure

Configure the algorithm.

Syntax

Definition:

METHOD Configure : BOOL
VAR_INPUT
    eMathOperator : E_ALY_MathOperator;
    bUseAbsValues : BOOL;
END_VAR

Configure 1: Inputs

Name

Type

Description

eMathOperator

E_ALY_MathOperator

Mathematical operator

Addition

Subtraction

Multiplication

Division

PowerOf

Modulo

bUseAbsValues

BOOL

If TRUE, the absolute values of the input signals are used.

Configure 2: Return value

Name

Type

Description

Configure

BOOL

Returns TRUE if successful.