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
CompareINTInput
diIndexAlarm1DINTThe index of the 1st alarm within the buffer of the AlarmStorageLocalBufferAccess function block
diIndexAlarm2DINTThe index of the 2nd alarm within the buffer of the AlarmStorageLocalBufferAccess function block