Skip to main content

OR Gate

Subcategory
Automation

Overview

The OR Gate is an automation building that outputs a green (active) automation signal when any of its input ports receives a green signal. It implements a logical inclusive OR across its two input channels and behaves bitwise on multi-bit Automation Ribbon signals: for example, given a 4-bit input of RRGG on the first input and RGRG on the second, the OR Gate outputs 4-bit RGGG. The gate is used to combine independent control conditions into a single activation line for machines, switches, and other automation-controlled buildings.

OR Gates appear on the automation tech branch and integrate into standard Automation Ribbon networks. They accept two input ports and produce one output port; each input may be left disconnected to act as a constant red input. The gate’s truth table is: red+red → red, red+green → green, green+red → green, green+green → green. This makes it suitable for merging manual overrides, safety cutoffs, and sensor outputs so that any enabled condition triggers downstream equipment.

Practical usage and interaction notes:

  • Use OR Gates to combine different sensor types (e.g., pressure sensor and liquid sensor) so a single actuator responds to any of several conditions.
  • When working with multi-bit signals (Automation Ribbon), the OR Gate performs bitwise OR; align bit-widths of inputs where predictable output bits are required.
  • An OR Gate is ideal for implementing emergency or manual override circuits: tie a manual switch into one input and an automated control chain into the other so a duplicant can force activation regardless of automatic state.
  • Leaving one input permanently green (or wiring it to a constant-on source) effectively bypasses the other input; leaving an input disconnected behaves as constant red.
  • OR Gates are frequently paired with NOT, AND, and XOR logic to build complex control sequences and latches; place them in networks where combining independent signals simplifies downstream automation.
  • Plan wiring layout to avoid crossing signals unintentionally; use Wire Bridges where wires must cross without merging.

Because the OR Gate is a deterministic logical component, it does not consume resources when idle and does not produce heat or require power beyond what automation buildings normally need. Use OR Gates wherever multiple triggers should produce the same effect, and take advantage of their bitwise behavior when controlling multi-bit systems.

No related recipes

Other entities of this type

Last updated: