MATH FUNCTIONS

There are 3 mathematical functions available: MATH 1, 2 and 3. There are 13 operations that can be used:

  • Sum and difference: sum and difference operations add or subtract the value of the Factor A and B, the result is the sum or the difference of the two values. If one of the two factors is in error, the result returns an error.

  • Average: the average sums the values of factors A and B and then divides them by two. If one of the two factors is in error, the result returns an error.

  • Minimum and Maximum: the lowest (minimum) or highest (maximum) value of factor A and B is reported as the result. If one of the two factors is in error, the result returns an error.

  • Min./Max. IF.E.: the lowest (minimum) or highest (maximum) value of factor A and B is reported as the result. If one of the factors is in error, the result returns the value of the other factor not in error.

  • Winter/Summer: The value of factor A is returned as the result if the system is in Winter, while factor B is returned as the result if the system is in Summer. If one of the two factors is in error (even if it is not the one for the current season), the result returns an error.

  • MUX BOOL 1/2/3/4: The MUX BOOL function results in what is read from factor A or B according to the result of the corresponding BOOL logic function. For example, in MATH2 let MUX BOOL 1 be used as an operation and factor A be a sensor TH 223, while factor B is a constant (=45). If the result of logical function BOOL1 is 1, then the result of MATH2 is factor B, if the result of logical function BOOL1 is zero, then the result of MATH2 is factor A.

  • Backup: returns the value of factor A in the result; if, however, the latter is in error, the value of factor B is returned.

Mathematical functions can be called up anywhere in RegConfig where there are analogue inputs by selecting SPECIAL from the drop-down menu and then MATHx. An example of the use of a boolean function applied to the enable contact of a zone is also shown in the following image; in this case, from the drop-down menu, it is necessary to select VDoutH and then choose from the 4 logic functions according to the programming carried out on the Free Signals page:

Â