Logic gate

The logic gates are seven constructible settlement items added in the Fallout 4 add-on Contraptions Workshop.

Characteristics & Functions
Logic gates are used to build advanced circuits for different powered components in the player's settlements. Each logic gate has two ports, the red port indicates input and the black port indicates output. Based on the state of the wires connected to the red input node each logic gate determines whether or not to pass power along through the black output node based on that gate's internal conditions.

There are 3 different types of logic gates, positive logic gates, negative logic gates and exclusive logic gates.

The AND, OR and XOR gates can directly run live or dead wires from other components however the NAND, NOR, NOT and XNOR gates require at least one input that is coming from the output of another powered logic gate, even if that gate is not transmitting power due to its conditions not being met.

AND
Transmits power only when all the inputs have power.
 * Max Input: multiple
 * Min Input: 2

OR
Transmits power when at least one input has power.
 * Max Input: multiple
 * Min Input: 1

NAND
Transmits power when at least one input doesn't have power.
 * Max Input: multiple
 * Min Input: 1

NOR
Transmits power only when no inputs have power.
 * Max Input: multiple
 * Min Input: 1

NOT
Transmitted power is inverted.
 * Max Input: 1
 * Min Input: 1

XNOR
Transmits power only when all input are same. Acts like a negative gate when no inputs have power.
 * Max Input: multiple
 * Min Input: 1

XOR
Transmits power when only one input has power. Acts like a positive gate.
 * Max Input: multiple
 * Min Input: 1

NB: Connecting additional or insufficient wires to a logic gate will cause the circuit to fail. Not connecting negative gates to the output of positive gates will also cause the circuit to fail