F_BACnet_RealGT : BOOL

F_BACnet_RealGT : BOOL 1:

Application

Function for comparing two floating-point values taking into account the value range. This function should be used instead of the standard operators (">" or "GT") for values from BACnet, since otherwise a PLC stop is triggered if the values to be compared are not in the finite range (e.g. not-a-number values).

VAR_INPUT

fIn1      : REAL;
fIn2      : REAL;

 

Return value: TRUE = fIn1 is greater than fIn2. FALSE = fIn2 is less than or equal to fIn1, or one of the two values is not in the finite range of values.