
5 Operating the pump controller
18/02/2021
bplogic intelligent pump controller
123
Example of a logic function:
Exa
mp
le
_
IF
-T
H
EN
-EL
SE
-0
1
.svg
Fig. 67: Example of a logic function
In this example (Fig. 67), the IF command uses a comparison to check whether
the value of a source parameter corresponds to the value of a comparison vari-
able (IF value 1).
If the two values compared are the same, the condition is true. In this case, the
THEN command is used to write a command variable (THEN value 1) to a tar-
get parameter. This THEN value 1 can cause a valve to be opened for exam-
ple.
If the two values compared are the not same, the condition is false. In this case,
the ELSE command is used to write a different command variable (ELSE
value 1) to the target parameter.
The following terms apply to this:
Description
IF value
The IF value is a comparison value. The IF command compares
the IF value to a source parameter in order to check a condition.
You can define up to six different IF values for each action.
Each action can compare up to 6 different source parameters with
up to 6 IF values. The number of IF values must correspond to the
number of source parameters.
IF (source parameter
1 = IF value
1)
THEN (write THEN value 1
to target parameter
1)
ELSE (write ELSE value 1
to target parameter
1)