0d34b3d2-85e2-4d90-8e60-25d5bcde2ae8

FORMULA

Privacy Policy

Informativa sui Cookie

e5407147-3a70-4a49-a12d-720c98621b4d

Selecting "Formula" enters the sub-area in which it’s possible to create logical channels based on dynamic and synchronous calculations with the acquired channels.

Typical uses:

  • Mathematical calculations by combining dynamic channels, constant channels, constant values, other formulas
  • clones of logical channels (for example duplicating them with a different name)
  • conditional algorithms (IF THEN ELSE) whose result depends on other channels, from sub calculations, comparisons, from conditions (useful for thresholds of variable alarms based on  the state of the other channels)
  • control algorithms (PID on base 100 ms) combined with an output channel for it to become a regulator back operable by any other logical channel
  • Low Pass Filter (Low Pass digital Butterworth type of second order on the basis of 100 ms) to provide a filtered version of another logical channel
    556a4888-0f6d-4840-8ee7-1bb486b95583

    In this image we see the management settings.

    The formulas are continually calculated from the first to the last, so to use one formula in another must be defined higher up in the table.

    Unless “Channel Lock” is deactivated, logical channels used in the formulas have their names protected from changes in their respective configuration environments.

    It’s possible to protect a subset of formulas with a password (unique), meaning those within which the option was chosen; deactivating "Lock" (with password) enables all the formulas.

    a30f1d70-5d4a-435e-a16d-1860f544f73f

    In this picture you can see the details for each channel formula.

    The syntax contemplates the use of lowercase letters to which match the appropriate logical channel selected in the sub window shown here:

    e0212a9c-d210-41bc-aa76-615f0cde3ca8

    In general, these sub windows have a filter for the logical channels’ category to find the one to select more easily.

    Using "Test formula ..." it’s possible to test the calculation by assigning extemporaneous values to the used channels; making this check it’s always advisable because, if the calculation fails, the formula would always result in zero without any warning or other evidence.

    96461edf-fdb5-41ca-921d-32c845a05bea

    In this and in the following two images, we can see the contents of the "Help" window, i.e. where the usable operators in formulas are summarized.

    Here, in particular, is shown the syntax of an "IF THEN ELSE" conditional formula.

    74759f8d-3a59-4f2a-8b3e-25dc15bf544b
    d781a6a7-989a-4538-a1ee-667267d3ea9e

    Here is shown the syntax of a “LP filter” formula type.

    Here is shown the syntax of a “PID control” formula type.

    Privacy Policy

    Informativa sui Cookie