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;
    stThresholdEdge : ST_ALY_Threshold;
END_VAR

ConfigureChannel 1: Inputs

Name

Type

Description

nChannel

UDINT

Channel index

1: On

2: Off

stThresholdEdge

ST_ALY_Threshold

Combination of comparison operator and threshold for edge detection.

ConfigureChannel 2: Return value

Name

Type

Description

ConfigureChannel

BOOL

Returns TRUE if successful.