Formula

INTRODUCTION

The 4 inputs AI1-AI4 are analogue inputs where variables or constants can be used in the calculations.

You can enter the formula for the calculation in the properties of the block. The four inputs are assigned as I1, I2, I3 and I4. The result of the calculation is output at AQ.

If an illegal mathematic operation is performed (for example division by 0) then an error message is output at TQ.

EXAMPLE

The formula block is useful for calculating the mean of values for example voltages. To do this with the block you would add the voltages and then divide by the total number of voltages.

For example: (I1+I2+I3)/4

Loxone Config Formula

SUPPORTED FUNCTIONS

FunctionDescription
+Addition
Subtraction
*Multiplication
/Division
^Raise to the power
PIValue of Pi (~3.14)
ABSAbsolute value
SQRTSquare root
SINHHyperbolic sine
COSHHyperbolic cosine
TANHHyperbolic tangent
LNNatural logarithm of a value (base e)
LOGCommon logarithm (base 10)
EXPExponential function
SINSine
COSCosine
TANTangent
ARCSINArcsine
ARCCOSArccosine
ARCTANArctangent
RADRadians (2PI)
DEGDegrees (360°)

Icon Exclamation Mark Loxone

Applications:
Level calculations, mean values, heating system calculations, etc.