AND Gate
Jump to navigation
Jump to search
AND Gate is a basic logic gates introduced in the Automation Upgrade. An AND Gate will output Green if and only if both of its inputs are receiving Green. These particular gates are useful in scenarios where you want, say, a device to turn on when a sensor becomes active and a switch is turned on.
The two nodes with the arrow facing toward the device are the inputs, while the third node is the output.
Truth Table
Input 1 | Input 2 | Output |
---|---|---|
Red | Red | Red |
Red | Green | Red |
Green | Red | Red |
Green | Green | Green |
Automation Ribbon
AND Gate's behavior to Automation Ribbon is same as bitwise AND - For example, when first input is 4-Bit RRGG and second input is RGRG, then its output is 4-Bit RRRG.
Tips
- The AND Gate, like other automation gates, can be placed behind buildings and tiles, as well as in the same space as pipes or wires.
- Like the OR and XOR gates, the fourth space on the AND gate's graphic does nothing, and automation wires can cross freely through this space.