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