Access to alarm storage (internal) ¶ IAlarmStorageDataComparer CommentComparer (FunctionBlock) Compare (Method) UserIdComparer (FunctionBlock) Compare (Method) IDatabaseAccess IDatabaseAccess4 (Interface) TblAlarmGetCommentValue (Method) only internal GetLatchVarColumnID (Function)
IAlarmStorageDataComparer ¶ CommentComparer (FunctionBlock) Compare (Method) UserIdComparer (FunctionBlock) Compare (Method)
CommentComparer (FB) ¶ FUNCTION_BLOCK CommentComparer EXTENDS TSLastComparer Methods: Compare Structure: Compare (Method)
CommentComparer.Compare (METH) ¶ METHOD Compare : INT Compares two alarms for order. Returns a negative integer, zero, or a positive integer as the first alarm is less than, equal to, or greater than the second. InOut: Scope Name Type Comment Return Compare INT Input diIndexAlarm1 DINT The index of the 1st alarm within the buffer of the AlarmStorageLocalBufferAccess function block diIndexAlarm2 DINT The index of the 2nd alarm within the buffer of the AlarmStorageLocalBufferAccess function block
UserIdComparer (FB) ¶ FUNCTION_BLOCK UserIdComparer EXTENDS TSLastComparer Methods: Compare Structure: Compare (Method)
UserIdComparer.Compare (METH) ¶ METHOD Compare : INT Compares two alarms for order. Returns a negative integer, zero, or a positive integer as the first alarm is less than, equal to, or greater than the second. InOut: Scope Name Type Comment Return Compare INT Input diIndexAlarm1 DINT The index of the 1st alarm within the buffer of the AlarmStorageLocalBufferAccess function block diIndexAlarm2 DINT The index of the 2nd alarm within the buffer of the AlarmStorageLocalBufferAccess function block
IDatabaseAccess ¶ IDatabaseAccess4 (Interface) TblAlarmGetCommentValue (Method)
only internal ¶ GetLatchVarColumnID (Function)
IDatabaseAccess4 (ITF) ¶ INTERFACE IDatabaseAccess4 EXTENDS IDatabaseAccess3 Methods: TblAlarmGetCommentValue Structure: TblAlarmGetCommentValue (Method)
IDatabaseAccess4.TblAlarmGetCommentValue (METH) ¶ METHOD TblAlarmGetCommentValue : STO.ERROR InOut: Scope Name Type Comment Return TblAlarmGetCommentValue STO.ERROR Input idWhichColumn CAA.IDENT Indicates, which column’s value has to be retrieved iWhichColumn INT Identifies the column for error processing Inout wsValue WSTRING(2000) The column value Output xNULL BOOL Indicates, whether the value in the database is NULL (TRUE) or not (FALSE)