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;
    sFilePath : STRING(255);
END_VAR

ConfigureChannel 1: Inputs

Name

Type

Description

nChannel

UDINT

Channel index (1 to nChannels)

sFilePath

STRING(255)

Path to the taught file, e.g. C:\TwinCAT\3.1\Boot\Teach.tas

ConfigureChannel 2: Return value

Name

Type

Description

ConfigureChannel

BOOL

Returns TRUE if successful.