SetChannelValue

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

Syntax

Definition:

METHOD SetChannelValue : BOOL
VAR_INPUT
    nChannel : UDINT (1..4);
    input : ANY;
END_VAR

SetChannelValue 1: Inputs

Name

Type

Description

nChannel

UDINT

Channel index

1: Voltage Us
(EPM Inputs Channel 1)

2: Current Is
(EPM Inputs Channel 1)

3: Voltage Up
(EPM Inputs Channel 2)

4: Current Ip
(EPM Inputs Channel 2)

Input

ANY

Input value of any data type.

SetChannelValue 2: Return value

Name

Type

Description

SetChannelValue

BOOL

Returns TRUE if successful.