OR Gate
Jump to navigation
Jump to search
OR Gate
Outputs a Green Signal if at least one of Input A OR Input B is receiving Green.
Outputs a Red Signal when neither Input A or Input B are receiving Green.
Outputs a Red Signal when neither Input A or Input B are receiving Green.
This gate outputs a Green Signal if receiving one or more Green Signals.
Dimensions
2×2 tiles
Rotation
Turnable
Category
-5 (Radius: 1 tile)
Materials
25 kg
OR Gate is an Automation Building that takes in two inputs and outputs Green when one or both inputs are receiving Green, and outputs Red when both inputs are receiving Red. It is connected to other buildings via Automation Wire. It is effectively redundant at present as connecting two automation outputs together automatically creates a "wired or" connection - unless you need to separate two logic circuits.
Truth Table
Input 1 | Input 2 | Output |
---|---|---|
Red | Red | Red |
Red | Green | Green |
Green | Red | Green |
Green | Green | Green |
Automation Ribbon
OR Gate's behavior to Automation Ribbon is same as bitwise OR - For example, when first input is 4-Bit RRGG and second input is RGRG, then its output is 4-Bit RGGG.
Tips
- The OR 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 AND and XOR gates, the fourth space on the OR gate's graphic does nothing, and Automation Wires can cross freely through this space.
- Useful for automating safety features, like turning on a Steam Turbine when a Steam room gets too hot, even if the Smart Battery that is also connected to the OR Gate is sending a Red signal.