Create: Factory Controller

Electron Tube

Electron tubes may be placed inside factory controllers, in which they function as boolean logic operators for redstone connections. When placed, they are referred to as "logical tubes".

logical tube modes
Figure 1. Logical tubes in each of the 4 modes, powered on and off
logical tube or example
Figure 2. A logical OR operator taking inputs from factory gauges and outputting to a redstone link

Logical Operators

Each logical tube may be connected with 0 or more redstone inputs, and outputs a redstone signal according to the rules of a logical operator, determined by its mode.

The available modes are:

OR
Output on when any connected input is on. Otherwise output off. When unconnected, output off.
AND
Output on when all connected inputs are on. Otherwise output off. When unconnected, output on.
NOR
Inverse of OR.
NAND
Inverse of AND.

Configuration

Clicking on the placed logical tube opens its settings screen.

logical tube settings
Figure 3. Logical tube settings
❶ Inputs
Displays the components connected as inputs to this tube. Click a component to switch it to an output, shift-click to disconnect.
❷ Operator
Displays the currently selected operator.
❸ Outputs
Displays the components connected as outputs to this tube. Click a component to switch it to an input, shift-click to disconnect.
❹ Relocate button
Click to move the location of this logical tube on the virtual board.
❺ Add connection button
Click to connect to other components via redstone.
❻ Mode switch
Click to switch between OR, AND, NOR, NAND modes.
❼ Confirm button
Click to confirm settings and close this screen.