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

Call 1: Inputs

Name

Type

Description

bStartPeriod

BOOL

Rising edge starts the calculation. The FB must be in the Read state.

bStopPeriod

BOOL

Rising edge stops the calculation. The results are output. The FB must be in the Read state.

Call 2: Return value

Name

Type

Description

Call

BOOL

Returns TRUE if successful.