SetInitialBounds

Sets the initial boundaries. Depends on the configured initialization mode.

Syntax

Definition:

METHOD SetInitialBounds : BOOL
VAR_INPUT
    pLowerBoundsConfigArray : POINTER TO LREAL;
    nLowerBoundsConfigArraySize : UDINT;
    pUpperBoundsConfigArray : POINTER TO LREAL;
    nUpperBoundsConfigArraySize : UDINT;
END_VAR

SetInitialBounds 1: Inputs

Name

Type

Description

pLowerBoundsConfigArray

POINTER TO LREAL

Pointer to an array containing the lower values of the bounds to be initialized. Dim.: nNumChannels

nLowerBoundsConfigArraySize

UDINT

Size of the array with the lower values of the limits to be initialized.

pUpperBoundsConfigArray

POINTER TO LREAL

Pointer to an array containing the upper values of the bounds to be initialized. Dim.: nNumChannels

nUpperBoundsConfigArraySize

UDINT

Size of the array with the upper values of the limits to be initialized.

SetInitialBounds 2:Return value

Name

Type

Description

SetInitialBounds

BOOL

Returns TRUE if successful.