ConfigureChannel

Configure channel specific parameters. The configuration will not be processed until the method Configure() is called.

Syntax

Definition:

METHOD ConfigureChannel : BOOL
VAR_INPUT
    nChannel : UDINT;
    stThresholdLevel : ST_ALY_Threshold;
END_VAR

ConfigureChannel 1: Inputs

Name

Type

Description

nChannel

UDINT

Channel index

1: Set (S)
2: Reset (R)

stThresholdLevel

ST_ALY_Threshold

Combination of comparison operator and threshold for threshold value consideration.

ConfigureChannel 2: Return value

Name

Type

Description

ConfigureChannel

BOOL

Returns TRUE if successful.