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