SetChannelValues

Set channel specific input value and condition. The input value is not processed until the Call() method has been invoked.

Syntax

Definition:

METHOD SetChannelValues: BOOL
VAR_INPUT
    nChannel : UDINT;
    bCondition : BOOL;
    input : ANY;
END_VAR

SetChannelValues 1: Inputs

Name

Type

Description

nChannel

UDINT

Channel index (1 to nChannels)

bCondition

BOOL

Channel condition.

Input

ANY

Input value of any data type.

SetChannelValues 2: Return value

Name

Type

Description

SetChannelValues

BOOL

Returns TRUE if successful