GetLatchVarColumnID (FUN)ΒΆ

FUNCTION GetLatchVarColumnID : CAA.IDENT

Calculates the column ID used to access a latch variable stored in the alarm storage.

InOut:

Scope

Name

Type

Comment

Return

GetLatchVarColumnID

CAA.IDENT

The column ID

Input

usiWhichLatchVar

USINT

The 1-based index of the latch variable.

xTypeColumn

BOOL

If TRUE: The column ID of the type column will be returned. If FALSE: The column ID of the value column will be returned.