Performs a logical operation on one or two logic inputs and produces a single logic output.
Input/Output | Description | Data Type |
---|---|---|
>in_a | Numeric true or false input | decimal |
>in_b | Numeric true or false input | decimal |
>type | See table of logic operations below | enumeration |
<out | Numeric true or false output | decimal |
A | B | NOT | AND | NAND | OR | NOR | XOR | XNOR |
---|---|---|---|---|---|---|---|---|
0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 |
1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 |
0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 0 |
1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 |