Binary Logic
The »Binary Logic« logic element executes Boolean comparisons of the input values (IN 1–…). The number of inputs can be set.
Inputs and Outputs
Inputs
GATE (see Logic Elements | Datapoint-Gate)
IN1 ...
Only inputs with an incoming connection will be included in the comparison.
Outputs
OUT
Configuration
Every incoming value triggers a new comparison. One valid input value is enough to start a comparison.
All inputs with an incoming connection will be used. If a connected input should have no value, it will be assumed to be Boolean false
. This is also the case if the input has a value that cannot directly be interpreted as a boolean value (e.g. the string "LOGIKEDITOR" would cause that input to be seen as set to false
).
The following comparison options are possible:
AND
All inputs must betrue
.NAND
The opposite ofAND
.
IfAND
results in afalse
, this condition is met.OR
At least one input must betrue
.NOR
The opposite ofOR
.
IfOR
results in afalse
, this condition is met.XOR
For exclusive OR, the first two input signals in each case will be compared to one another; if both have the same value, this is afalse
; otherwise, this is atrue
. The result of the first two is then compared to the next input signal etc. The result of the entire chain is applicable.NXOR
The opposite of XOR. IfXOR
results in afalse
, this condition is met.
The result of the comparison is sent on the output (true
/ false
).
///