XOR Gate

From Oxygen Not Included Wiki
Jump to navigation Jump to search
XOR Gate
XOR Gate.png
Outputs a Green Signal if exactly one of its Inputs is receiving Green.
Outputs a Red Signal if both or neither Inputs are receiving a Green Signal.
This gate outputs a Green Signal if exactly one of its Inputs is receiving a Green Signal.
Dimensions
2×2 tiles
Rotation
Turnable
Category
-5 (Radius: 1 tile)
Materials

XOR Gate is an Automation Building that takes in two inputs and will output a Green signal only when exactly one input is receiving Green Signal. Otherwise, it will output Red. It is connected to other buildings via Automation Wire.

Truth Table

Input1 Input2 Output
Red Red Red
Red Green Green
Green Red Green
Green Green Red

Automation Ribbon

XOR Gate's behavior to Automation Ribbon is same as bitwise XOR - For example, when first input is 4-Bit RRGG and second input is RGRG, then its output is 4-Bit RGGR.

Tips

  • The XOR 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 OR gates, the fourth space on the XOR gate's graphic does nothing, and Automation Wires can cross freely in this space.

Blueprints

Available blueprints
AND Gate.pngAND Gate
Atmo Sensor.pngAtmo Sensor
Automated Notifier.pngAutomated Notifier
This content is added by Spaced Out!Automation Broadcaster.pngAutomation Broadcaster
This content is added by Spaced Out!Automation Receiver.pngAutomation Receiver
Automation Ribbon.pngAutomation Ribbon
Automation Ribbon Bridge.pngAutomation Ribbon Bridge
Automation Wire.pngAutomation Wire
Automation Wire Bridge.pngAutomation Wire Bridge
BUFFER Gate.pngBUFFER Gate
Critter Sensor.pngCritter Sensor
Cycle Sensor.pngCycle Sensor
Duplicant Checkpoint.pngDuplicant Checkpoint
Duplicant Motion Sensor.pngDuplicant Motion Sensor
FILTER Gate.pngFILTER Gate
Gas Element Sensor.pngGas Element Sensor
Germ Sensor.pngGerm Sensor
Hydro Sensor.pngHydro Sensor
Light Sensor.pngLight Sensor
Liquid Element Sensor.pngLiquid Element Sensor
Memory Toggle.pngMemory Toggle
NOT Gate.pngNOT Gate
OR Gate.pngOR Gate
This content is added by Spaced Out!Radbolt Sensor.pngRadbolt Sensor
This content is added by Spaced Out!Radiation Sensor.pngRadiation Sensor
Ribbon Reader.pngRibbon Reader
Ribbon Writer.pngRibbon Writer
Signal Counter.pngSignal Counter
Signal Distributor.pngSignal Distributor
Signal Selector.pngSignal Selector
Signal Switch.pngSignal Switch
Space Scanner.pngSpace Scanner
Thermo Sensor.pngThermo Sensor
Timer Sensor.pngTimer Sensor
Wattage Sensor.pngWattage Sensor
Weight Plate.pngWeight Plate
XOR Gate.pngXOR Gate