Binary Logic

job-binary-logic-icon.svg

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

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 be true.

  • NAND
    The opposite of AND.
    If AND results in a false, this condition is met. 

  • OR
    At least one input must be true

  • NOR
    The opposite of OR.
    If OR results in a false, 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 a false; otherwise, this is a true. 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. If XOR results in a false, this condition is met. 

The result of the comparison is sent on the output (true/ false).


///