Call

Call the algorithm after a new input value is set. A new input can be assigned by using the method SetChannelValue().

Syntax

Definition:

METHOD Call : BOOL
VAR_INPUT
    tTimestamp    : ULINT;
    pArrayOut     : POINTER TO BOOL;
    nArrayOutSize : UDINT;
END_VAR

Call 1: Inputs

Name

Type

Description

tTimestamp

ULINT

Current timestamp with a resolution of 1 ns.

pArrayOut

POINTER TO BOOL

Pointer to an array in which the results of the threshold value monitoring are output per channel.

nArrayOutSize

UDINT

Size of the array (Dim: nNumChannels)

Call 2: Return value

Name

Type

Description

Call

BOOL

Returns TRUE if successful.