F_BACnet_RealGE : BOOL

F_BACnet_RealGE : 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 "GE") 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 or equal fIn2. FALSE = fIn2 is less than fIn1, or one of the two values is not in the finite range of values.