Difference between revisions of "Logic Circuit"

From Prison Architect Wiki
Jump to navigation Jump to search
m (NOT gate)
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{L|Logic Circuit}}
 
{{L|Logic Circuit}}
  
{{Infobox Object
+
{{Infobox.v2
 
|lang=en
 
|lang=en
 
|name=Logic Circuit
 
|name=Logic Circuit
|image=[[File:Logic circuit.png|60px]]
+
|image=Logic circuit.png
 
|size=1x1
 
|size=1x1
 
|price=100
 
|price=100
Line 14: Line 14:
 
* Right-Clicking on the object will change its mode.
 
* Right-Clicking on the object will change its mode.
 
* This object can only be found in the [[Utilities]] menu.
 
* This object can only be found in the [[Utilities]] menu.
 +
|contentBasedOnVersion = The Sneezer
 
}}
 
}}
  
The Logic Circuit acts exactly like a [http://en.wikipedia.org/wiki/Logic_gate Logic Gate], but with one difference - you can have as many inputs and outputs as you want in the game. However, the logical operations are still the same. The logic circuit works with remote connections only. Therefore, the inputs must be from other remotely connected objects, and the output must go to another remotely connected object. The connect tool can be found in the [[Utilities]] menu.
+
The Logic Circuit acts exactly like a [[Wikipedia:Logic Gate|Logic Gate]], but with one difference - you can have as many inputs and outputs as you want in the game. However, the logical operations are still the same. The logic circuit works with remote connections only. Therefore, the inputs must be from other remotely connected objects, and the output must go to another remotely connected object. The connect tool can be found in the [[Utilities]] menu.
  
 
Below is a table listing all possible operations in the game (set by right-clicking the Logic Circuit), and what they do.
 
Below is a table listing all possible operations in the game (set by right-clicking the Logic Circuit), and what they do.
Line 86: Line 87:
 
| style="background: silver;" | || style="background: silver;" | || style="background: silver;" | || style="background: silver;" |
 
| style="background: silver;" | || style="background: silver;" | || style="background: silver;" | || style="background: silver;" |
 
|-
 
|-
! rowspan="3" | NOT
+
! rowspan="2" | NOT
| True
 
 
| True
 
| True
 +
| -
 
| False
 
| False
 
|-
 
|-
 +
| False
 
| -
 
| -
| -
 
| -
 
|-
 
| False
 
| False
 
 
| True
 
| True
 
|-
 
|-
Line 116: Line 113:
 
| style="background: silver;" | || style="background: silver;" | || style="background: silver;" | || style="background: silver;" |
 
| style="background: silver;" | || style="background: silver;" | || style="background: silver;" | || style="background: silver;" |
 
|-
 
|-
! rowspan="2" | = <br> ''(Equal)''
+
! rowspan="2" | = <br> ''(Equal; [[Wikipedia:Identity function|Identity]])''
 
| True
 
| True
 
|  
 
|  
Line 128: Line 125:
  
 
Logic Circuits are an advanced feature that may be a powerful tool to help automating complex prisons, but they are in no way needed for a prison to be operational.
 
Logic Circuits are an advanced feature that may be a powerful tool to help automating complex prisons, but they are in no way needed for a prison to be operational.
 +
 +
== Uses ==
 +
Logic Circuits can be used to control anything that can be connected to.
 +
* The most basic use of them is probably in power switches, since "true" signals require power to send.
 +
* A "NOT" gate can be used to create an airlock system, where only one gate in the pair will open at a time. The same principle can be used to make sure that only one generator is conencted to a grid and vice versa.
  
 
== Tips ==
 
== Tips ==
 
* You need to use Status Lights as a relay or the state tracking will not work. Lever -> Status Light -> Logic Circuit -> Status Light -> Lever
 
* You need to use Status Lights as a relay or the state tracking will not work. Lever -> Status Light -> Logic Circuit -> Status Light -> Lever
 
 
*Logic gates are recommended for experts only, as they are quite difficult to set up and run.
 
*Logic gates are recommended for experts only, as they are quite difficult to set up and run.
 
 
*Logic gates are not available on console or mobile platforms, and are only accessible through the PC platform.
 
*Logic gates are not available on console or mobile platforms, and are only accessible through the PC platform.
  
 
{{Footer Objects|lang=en}}
 
{{Footer Objects|lang=en}}

Latest revision as of 20:10, 15 March 2020


  Logic Circuit
Date of the last article update. Content based on The Sneezer
3/2020 | The Sneezer
Cost: $100
Size: 1x1
Toughness 1 HP
Used in:
  • Anywhere
Other Information:
  • This object must be researched before it can be purchased.
    (Remote Access)
  • Right-Clicking on the object will change its mode.
  • This object can only be found in the Utilities menu.

The Logic Circuit acts exactly like a Logic Gate, but with one difference - you can have as many inputs and outputs as you want in the game. However, the logical operations are still the same. The logic circuit works with remote connections only. Therefore, the inputs must be from other remotely connected objects, and the output must go to another remotely connected object. The connect tool can be found in the Utilities menu.

Below is a table listing all possible operations in the game (set by right-clicking the Logic Circuit), and what they do.

Operation Input 1 Input 2 Output
AND True True True
True False False
False False False
OR True True True
True False True
False False False
NOR True True False
True False False
False False True
NAND True True False
True False True
False False True
NOT True - False
False - True
XOR True True False
True False True
False False False
=
(Equal; Identity)
True True
False False

Logic Circuits are an advanced feature that may be a powerful tool to help automating complex prisons, but they are in no way needed for a prison to be operational.

Uses[edit]

Logic Circuits can be used to control anything that can be connected to.

  • The most basic use of them is probably in power switches, since "true" signals require power to send.
  • A "NOT" gate can be used to create an airlock system, where only one gate in the pair will open at a time. The same principle can be used to make sure that only one generator is conencted to a grid and vice versa.

Tips[edit]

  • You need to use Status Lights as a relay or the state tracking will not work. Lever -> Status Light -> Logic Circuit -> Status Light -> Lever
  • Logic gates are recommended for experts only, as they are quite difficult to set up and run.
  • Logic gates are not available on console or mobile platforms, and are only accessible through the PC platform.