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

ConfigureChannel 1: Inputs

Name

Type

Description

nChannel

UDINT

Channel index

1: Is producing (level)

2: Start production cycle (edge)

2: Stop production cycle (level)

stThresholdEdge

ST_ALY_Threshold

Combination of comparison operator and threshold. Depending on nChannel.

ConfigureChannel 2: Return value

Name

Type

Description

ConfigureChannel

BOOL

Returns TRUE if successful.