SetCascades

Configuration of the output cascades. Before that, the number of cascades must be set with the Configure() method.

Syntax

Definition:

METHOD SetCascades : BOOL
VAR_INPUT
    pCascadesConfigArray : POINTER TO LTIME;
    nCascadesConfigArraySize : UDINT;
END_VAR

SetCascades 1: Inputs

Name

Type

Description

pCascadesConfigArray

POINTER TO LTIME

Pointer to an array used to configure the time intervals of the cascades. The time interval of the configured cascade must correspond to an integer multiple of the time interval of the previous cascade.

nCascadesConfigArraySize 

UDINT

Size of the configuration array.

SetCascades 2: Return value

Name

Type

Description

SetCascades

BOOL

Returns TRUE if successful.