F_BACnet_RealEQ

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

F_BACnet_RealEQ 1:

VAR_INPUT

fIn1         : REAL;
fIn2         : REAL;

Return value: TRUE = value 1 and value 2 are identical or both are not in the finite value range. FALSE = value 1 and value 2 differ.