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
    bStartPeriod : ULINT;
    bStopPeriod : BOOL;
END_VAR

Call 1: Inputs

Name

Type

Description

bStartPeriod

BOOL

Rising edge starts teach-in process.

bStopPeriod

BOOL

Rising edge stops teach-in process.

Call 2: Return value

Name

Type

Description

Call

BOOL

Returns TRUE if successful.