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
    tTimeStart : LTIME;
    tTimeStop : LTIME;
    tTimestamp : ULINT;
END_VAR

Call 1: Inputs

Name

Type

Description

tTimeStart

LTIME

Start time of the specified interval. Allows the interval to be specified from process data.

tTimeStop

LTIME

End time of the specified interval. Allows the interval to be specified from process data.

tTimestamp

ULINT

Current timestamp with a resolution of 1 ns.

Call 2: Return value

Name

Type

Description

Call

BOOL

Returns TRUE if successful.