<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://stationeers-wiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.16.148.86</id>
	<title>Stationeers Community Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://stationeers-wiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.16.148.86"/>
	<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/Special:Contributions/89.16.148.86"/>
	<updated>2026-04-04T07:49:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/Dual-Atmosphere_Airlock&amp;diff=5954</id>
		<title>User:Carsten Milkau/Dual-Atmosphere Airlock</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/Dual-Atmosphere_Airlock&amp;diff=5954"/>
		<updated>2018-07-22T14:18:46Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: /* Vent direction */ Vent direction: equality comparison is a more straightforward explanation than a NOT gate&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Structure ==&lt;br /&gt;
&lt;br /&gt;
== Piping ==&lt;br /&gt;
&lt;br /&gt;
== Electronics ==&lt;br /&gt;
&lt;br /&gt;
=== Constants ===&lt;br /&gt;
&lt;br /&gt;
* Zero&lt;br /&gt;
* &amp;quot;Vacuum&amp;quot; pressure&lt;br /&gt;
&lt;br /&gt;
=== Target Atmosphere ===&lt;br /&gt;
&lt;br /&gt;
* [[Kit (Logic Switch)|Switch]]&lt;br /&gt;
* [[User:Carsten Milkau/RS-Latch]]&lt;br /&gt;
&lt;br /&gt;
=== Current Atmosphere ===&lt;br /&gt;
&lt;br /&gt;
[[User:Carsten Milkau/D-Latch]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;if (internal_pressure &amp;gt; vacuum_pressure)&lt;br /&gt;
then current_atmosphere = current_atmosphere&lt;br /&gt;
else current_atmosphere = target_atmosphere&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Door sensor ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;del&amp;gt;[[User:Carsten Milkau/OR Gate]]&amp;lt;/del&amp;gt;&lt;br /&gt;
* [[Kit (Logic I/O)#Batch Reader|Batch Reader]]&lt;br /&gt;
* [[User:Carsten Milkau/NOT Gate]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;num_open_doors = read_sum(airlock_door open)&lt;br /&gt;
doors_closed   = (num_open_doors = 0)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Door control ===&lt;br /&gt;
&lt;br /&gt;
  if (my atmosphere) &lt;br /&gt;
  then (internal pressure &amp;gt;= external pressure)&lt;br /&gt;
  else Zero&lt;br /&gt;
&lt;br /&gt;
=== Vent activation ===&lt;br /&gt;
&lt;br /&gt;
  if (my atmosphere) &lt;br /&gt;
  then (doors closed) &lt;br /&gt;
  else Zero&lt;br /&gt;
&lt;br /&gt;
* atmosphere 0: max(atmosphere1, any door open) = Zero&lt;br /&gt;
* atmosphere 1: atmosphere1 &amp;gt; any door open&lt;br /&gt;
&lt;br /&gt;
=== Vent direction ===&lt;br /&gt;
&lt;br /&gt;
[[Kit (Logic Processor)#Compare Unit|Compare Unit]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;if (my target atmosphere) &lt;br /&gt;
then pressurize &lt;br /&gt;
else depressurize&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/Dual-Atmosphere_Airlock&amp;diff=5953</id>
		<title>User:Carsten Milkau/Dual-Atmosphere Airlock</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/Dual-Atmosphere_Airlock&amp;diff=5953"/>
		<updated>2018-07-22T12:29:01Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: /* Vent direction */ pseudocode&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Structure ==&lt;br /&gt;
&lt;br /&gt;
== Piping ==&lt;br /&gt;
&lt;br /&gt;
== Electronics ==&lt;br /&gt;
&lt;br /&gt;
=== Constants ===&lt;br /&gt;
&lt;br /&gt;
* Zero&lt;br /&gt;
* &amp;quot;Vacuum&amp;quot; pressure&lt;br /&gt;
&lt;br /&gt;
=== Target Atmosphere ===&lt;br /&gt;
&lt;br /&gt;
* [[Kit (Logic Switch)|Switch]]&lt;br /&gt;
* [[User:Carsten Milkau/RS-Latch]]&lt;br /&gt;
&lt;br /&gt;
=== Current Atmosphere ===&lt;br /&gt;
&lt;br /&gt;
[[User:Carsten Milkau/D-Latch]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;if (internal_pressure &amp;gt; vacuum_pressure)&lt;br /&gt;
then current_atmosphere = current_atmosphere&lt;br /&gt;
else current_atmosphere = target_atmosphere&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Door sensor ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;del&amp;gt;[[User:Carsten Milkau/OR Gate]]&amp;lt;/del&amp;gt;&lt;br /&gt;
* [[Kit (Logic I/O)#Batch Reader|Batch Reader]]&lt;br /&gt;
* [[User:Carsten Milkau/NOT Gate]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;num_open_doors = read_sum(airlock_door open)&lt;br /&gt;
doors_closed   = (num_open_doors = 0)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Door control ===&lt;br /&gt;
&lt;br /&gt;
  if (my atmosphere) &lt;br /&gt;
  then (internal pressure &amp;gt;= external pressure)&lt;br /&gt;
  else Zero&lt;br /&gt;
&lt;br /&gt;
=== Vent activation ===&lt;br /&gt;
&lt;br /&gt;
  if (my atmosphere) &lt;br /&gt;
  then (doors closed) &lt;br /&gt;
  else Zero&lt;br /&gt;
&lt;br /&gt;
* atmosphere 0: max(atmosphere1, any door open) = Zero&lt;br /&gt;
* atmosphere 1: atmosphere1 &amp;gt; any door open&lt;br /&gt;
&lt;br /&gt;
=== Vent direction ===&lt;br /&gt;
&lt;br /&gt;
[[User:Carsten Milkau/NOT Gate]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;if (my target atmosphere) &lt;br /&gt;
then pressurize &lt;br /&gt;
else depressurize&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/Dual-Atmosphere_Airlock&amp;diff=5952</id>
		<title>User:Carsten Milkau/Dual-Atmosphere Airlock</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/Dual-Atmosphere_Airlock&amp;diff=5952"/>
		<updated>2018-07-22T12:26:50Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: /* Door sensor */ pseudocode&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Structure ==&lt;br /&gt;
&lt;br /&gt;
== Piping ==&lt;br /&gt;
&lt;br /&gt;
== Electronics ==&lt;br /&gt;
&lt;br /&gt;
=== Constants ===&lt;br /&gt;
&lt;br /&gt;
* Zero&lt;br /&gt;
* &amp;quot;Vacuum&amp;quot; pressure&lt;br /&gt;
&lt;br /&gt;
=== Target Atmosphere ===&lt;br /&gt;
&lt;br /&gt;
* [[Kit (Logic Switch)|Switch]]&lt;br /&gt;
* [[User:Carsten Milkau/RS-Latch]]&lt;br /&gt;
&lt;br /&gt;
=== Current Atmosphere ===&lt;br /&gt;
&lt;br /&gt;
[[User:Carsten Milkau/D-Latch]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;if (internal_pressure &amp;gt; vacuum_pressure)&lt;br /&gt;
then current_atmosphere = current_atmosphere&lt;br /&gt;
else current_atmosphere = target_atmosphere&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Door sensor ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;del&amp;gt;[[User:Carsten Milkau/OR Gate]]&amp;lt;/del&amp;gt;&lt;br /&gt;
* [[Kit (Logic I/O)#Batch Reader|Batch Reader]]&lt;br /&gt;
* [[User:Carsten Milkau/NOT Gate]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;num_open_doors = read_sum(airlock_door open)&lt;br /&gt;
doors_closed   = (num_open_doors = 0)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Door control ===&lt;br /&gt;
&lt;br /&gt;
  if (my atmosphere) &lt;br /&gt;
  then (internal pressure &amp;gt;= external pressure)&lt;br /&gt;
  else Zero&lt;br /&gt;
&lt;br /&gt;
=== Vent activation ===&lt;br /&gt;
&lt;br /&gt;
  if (my atmosphere) &lt;br /&gt;
  then (doors closed) &lt;br /&gt;
  else Zero&lt;br /&gt;
&lt;br /&gt;
* atmosphere 0: max(atmosphere1, any door open) = Zero&lt;br /&gt;
* atmosphere 1: atmosphere1 &amp;gt; any door open&lt;br /&gt;
&lt;br /&gt;
=== Vent direction ===&lt;br /&gt;
&lt;br /&gt;
[[User:Carsten Milkau/NOT Gate]]&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/Dual-Atmosphere_Airlock&amp;diff=5951</id>
		<title>User:Carsten Milkau/Dual-Atmosphere Airlock</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/Dual-Atmosphere_Airlock&amp;diff=5951"/>
		<updated>2018-07-22T12:18:11Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: /* Current Atmosphere */ pseudocode&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Structure ==&lt;br /&gt;
&lt;br /&gt;
== Piping ==&lt;br /&gt;
&lt;br /&gt;
== Electronics ==&lt;br /&gt;
&lt;br /&gt;
=== Constants ===&lt;br /&gt;
&lt;br /&gt;
* Zero&lt;br /&gt;
* &amp;quot;Vacuum&amp;quot; pressure&lt;br /&gt;
&lt;br /&gt;
=== Target Atmosphere ===&lt;br /&gt;
&lt;br /&gt;
* [[Kit (Logic Switch)|Switch]]&lt;br /&gt;
* [[User:Carsten Milkau/RS-Latch]]&lt;br /&gt;
&lt;br /&gt;
=== Current Atmosphere ===&lt;br /&gt;
&lt;br /&gt;
[[User:Carsten Milkau/D-Latch]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;if (internal_pressure &amp;gt; vacuum_pressure)&lt;br /&gt;
then current_atmosphere = current_atmosphere&lt;br /&gt;
else current_atmosphere = target_atmosphere&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Door sensor ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;del&amp;gt;[[User:Carsten Milkau/OR Gate]]&amp;lt;/del&amp;gt;&lt;br /&gt;
* [[Kit (Logic I/O)#Batch Reader|Batch Reader]]&lt;br /&gt;
* [[User:Carsten Milkau/NOT Gate]]&lt;br /&gt;
&lt;br /&gt;
=== Door control ===&lt;br /&gt;
&lt;br /&gt;
  if (my atmosphere) &lt;br /&gt;
  then (internal pressure &amp;gt;= external pressure)&lt;br /&gt;
  else Zero&lt;br /&gt;
&lt;br /&gt;
=== Vent activation ===&lt;br /&gt;
&lt;br /&gt;
  if (my atmosphere) &lt;br /&gt;
  then (doors closed) &lt;br /&gt;
  else Zero&lt;br /&gt;
&lt;br /&gt;
* atmosphere 0: max(atmosphere1, any door open) = Zero&lt;br /&gt;
* atmosphere 1: atmosphere1 &amp;gt; any door open&lt;br /&gt;
&lt;br /&gt;
=== Vent direction ===&lt;br /&gt;
&lt;br /&gt;
[[User:Carsten Milkau/NOT Gate]]&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5950</id>
		<title>User:Carsten Milkau/NOT Gate</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5950"/>
		<updated>2018-07-22T12:13:11Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: /* Definition */ names x and y for inputs/outputs in truth table&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOT Gate =&lt;br /&gt;
&lt;br /&gt;
A NOT gate, sometimes also called &#039;&#039;inverter&#039;&#039;, is a circuit that outputs the value that was not input. It has a single input and output, and each can only take one of two pre-defined values (typically 0 and 1). Whatever the input value is selected, the output value will be the other of the two.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ value table&lt;br /&gt;
|-&lt;br /&gt;
!&#039;&#039;&#039;inputs&#039;&#039;&#039; || &#039;&#039;&#039;outputs&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
!x || y&lt;br /&gt;
|-&lt;br /&gt;
|0||1&lt;br /&gt;
|-&lt;br /&gt;
|1||0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Connectors ===&lt;br /&gt;
&lt;br /&gt;
* Input x: one of two values (0 or 1)&lt;br /&gt;
* Output y: the other of the two values&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
NOT gates can often be avoided by modifying the circuit. For instance, an [[User:Carsten Milkau/OR Gate|OR Gate]] with two NOT gates connected to its inputs and outputs can always be replaced by an AND gate with just one NOT gate connected.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no single-component implementation of a NOT gate. However, if you happen to have a data signal with a known value (like a memory containing a constant), often you can feed this signal into a single component in order to turn it into a NOT gate.&lt;br /&gt;
&lt;br /&gt;
=== Using A Less-Than Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit available (e.g. a constant memory) that has a value &#039;&#039;b&#039;&#039; known to stay between 0 and 1 (but not 0), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;b&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;y = (x &amp;lt; b)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || &#039;&#039;b&#039;&#039; (constant or bounded value)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Lesser&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using An Equality Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit output available that is known to be zero when the NOT gate is used (e.g. a constant memory), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;0&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;y = (x = 0)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || 0 (constant)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Equals&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using Subtraction ===&lt;br /&gt;
&lt;br /&gt;
[[File:MathUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you do not use 0 and 1 as the two possible input values of the inverter, you can use subtraction for implementation. In this case, you need a constant that is exactly the mean of the two input values, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;y = (m - x)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where m = (a + b)/2 is the mean of the two allowed input values, (called &#039;&#039;a&#039;&#039; and &#039;&#039;b&#039;&#039; here).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type  || connector/setting || source/value&lt;br /&gt;
|-&lt;br /&gt;
| math 1 || [[Kit (Logic Processor)#Math Unit|Math Unit]] || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || m (constant, see above)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation || Subtract&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5949</id>
		<title>User:Carsten Milkau/NOT Gate</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5949"/>
		<updated>2018-07-22T12:11:58Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: /* Connectors */ y again&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOT Gate =&lt;br /&gt;
&lt;br /&gt;
A NOT gate, sometimes also called &#039;&#039;inverter&#039;&#039;, is a circuit that outputs the value that was not input. It has a single input and output, and each can only take one of two pre-defined values (typically 0 and 1). Whatever the input value is selected, the output value will be the other of the two.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ value table&lt;br /&gt;
|-&lt;br /&gt;
!input || output&lt;br /&gt;
|-&lt;br /&gt;
|0||1&lt;br /&gt;
|-&lt;br /&gt;
|1||0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Connectors ===&lt;br /&gt;
&lt;br /&gt;
* Input x: one of two values (0 or 1)&lt;br /&gt;
* Output y: the other of the two values&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
NOT gates can often be avoided by modifying the circuit. For instance, an [[User:Carsten Milkau/OR Gate|OR Gate]] with two NOT gates connected to its inputs and outputs can always be replaced by an AND gate with just one NOT gate connected.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no single-component implementation of a NOT gate. However, if you happen to have a data signal with a known value (like a memory containing a constant), often you can feed this signal into a single component in order to turn it into a NOT gate.&lt;br /&gt;
&lt;br /&gt;
=== Using A Less-Than Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit available (e.g. a constant memory) that has a value &#039;&#039;b&#039;&#039; known to stay between 0 and 1 (but not 0), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;b&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;y = (x &amp;lt; b)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || &#039;&#039;b&#039;&#039; (constant or bounded value)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Lesser&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using An Equality Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit output available that is known to be zero when the NOT gate is used (e.g. a constant memory), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;0&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;y = (x = 0)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || 0 (constant)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Equals&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using Subtraction ===&lt;br /&gt;
&lt;br /&gt;
[[File:MathUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you do not use 0 and 1 as the two possible input values of the inverter, you can use subtraction for implementation. In this case, you need a constant that is exactly the mean of the two input values, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;y = (m - x)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where m = (a + b)/2 is the mean of the two allowed input values, (called &#039;&#039;a&#039;&#039; and &#039;&#039;b&#039;&#039; here).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type  || connector/setting || source/value&lt;br /&gt;
|-&lt;br /&gt;
| math 1 || [[Kit (Logic Processor)#Math Unit|Math Unit]] || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || m (constant, see above)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation || Subtract&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5948</id>
		<title>User:Carsten Milkau/NOT Gate</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5948"/>
		<updated>2018-07-22T12:10:58Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOT Gate =&lt;br /&gt;
&lt;br /&gt;
A NOT gate, sometimes also called &#039;&#039;inverter&#039;&#039;, is a circuit that outputs the value that was not input. It has a single input and output, and each can only take one of two pre-defined values (typically 0 and 1). Whatever the input value is selected, the output value will be the other of the two.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ value table&lt;br /&gt;
|-&lt;br /&gt;
!input || output&lt;br /&gt;
|-&lt;br /&gt;
|0||1&lt;br /&gt;
|-&lt;br /&gt;
|1||0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Connectors ===&lt;br /&gt;
&lt;br /&gt;
* Input: one of two values (0 or 1)&lt;br /&gt;
* Output: the other of the two values&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
NOT gates can often be avoided by modifying the circuit. For instance, an [[User:Carsten Milkau/OR Gate|OR Gate]] with two NOT gates connected to its inputs and outputs can always be replaced by an AND gate with just one NOT gate connected.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no single-component implementation of a NOT gate. However, if you happen to have a data signal with a known value (like a memory containing a constant), often you can feed this signal into a single component in order to turn it into a NOT gate.&lt;br /&gt;
&lt;br /&gt;
=== Using A Less-Than Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit available (e.g. a constant memory) that has a value &#039;&#039;b&#039;&#039; known to stay between 0 and 1 (but not 0), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;b&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;y = (x &amp;lt; b)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || &#039;&#039;b&#039;&#039; (constant or bounded value)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Lesser&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using An Equality Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit output available that is known to be zero when the NOT gate is used (e.g. a constant memory), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;0&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;y = (x = 0)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || 0 (constant)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Equals&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using Subtraction ===&lt;br /&gt;
&lt;br /&gt;
[[File:MathUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you do not use 0 and 1 as the two possible input values of the inverter, you can use subtraction for implementation. In this case, you need a constant that is exactly the mean of the two input values, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;y = (m - x)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where m = (a + b)/2 is the mean of the two allowed input values, (called &#039;&#039;a&#039;&#039; and &#039;&#039;b&#039;&#039; here).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type  || connector/setting || source/value&lt;br /&gt;
|-&lt;br /&gt;
| math 1 || [[Kit (Logic Processor)#Math Unit|Math Unit]] || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || m (constant, see above)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation || Subtract&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5947</id>
		<title>User:Carsten Milkau/NOT Gate</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5947"/>
		<updated>2018-07-22T12:10:09Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: /* Using Subtraction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOT Gate =&lt;br /&gt;
&lt;br /&gt;
A NOT gate, sometimes also called &#039;&#039;inverter&#039;&#039;, is a circuit that outputs the value that was not input. It has a single input and output, and each can only take one of two pre-defined values (typically 0 and 1). Whatever the input value is selected, the output value will be the other of the two.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ value table&lt;br /&gt;
|-&lt;br /&gt;
!input || output&lt;br /&gt;
|-&lt;br /&gt;
|0||1&lt;br /&gt;
|-&lt;br /&gt;
|1||0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Connectors ===&lt;br /&gt;
&lt;br /&gt;
* Input: one of two values (0 or 1)&lt;br /&gt;
* Output: the other of the two values&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
NOT gates can often be avoided by modifying the circuit. For instance, an [[User:Carsten Milkau/OR Gate|OR Gate]] with two NOT gates connected to its inputs and outputs can always be replaced by an AND gate with just one NOT gate connected.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no single-component implementation of a NOT gate. However, if you happen to have a data signal with a known value (like a memory containing a constant), often you can feed this signal into a single component in order to turn it into a NOT gate.&lt;br /&gt;
&lt;br /&gt;
=== Using A Less-Than Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit available (e.g. a constant memory) that has a value &#039;&#039;b&#039;&#039; known to stay between 0 and 1 (but not 0), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;b&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;not_x = (x &amp;lt; b)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || &#039;&#039;b&#039;&#039; (constant or bounded value)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Lesser&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using An Equality Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit output available that is known to be zero when the NOT gate is used (e.g. a constant memory), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;0&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;not_x = (x = 0)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || 0 (constant)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Equals&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using Subtraction ===&lt;br /&gt;
&lt;br /&gt;
[[File:MathUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you do not use 0 and 1 as the two possible input values of the inverter, you can use subtraction for implementation. In this case, you need a constant that is exactly the mean of the two input values, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;y = (m - x)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where m = (a + b)/2 is the mean of the two allowed input values, (called &#039;&#039;a&#039;&#039; and &#039;&#039;b&#039;&#039; here).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type  || connector/setting || source/value&lt;br /&gt;
|-&lt;br /&gt;
| math 1 || [[Kit (Logic Processor)#Math Unit|Math Unit]] || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || m (constant, see above)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation || Subtract&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5946</id>
		<title>User:Carsten Milkau/NOT Gate</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5946"/>
		<updated>2018-07-22T11:53:33Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOT Gate =&lt;br /&gt;
&lt;br /&gt;
A NOT gate, sometimes also called &#039;&#039;inverter&#039;&#039;, is a circuit that outputs the value that was not input. It has a single input and output, and each can only take one of two pre-defined values (typically 0 and 1). Whatever the input value is selected, the output value will be the other of the two.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ value table&lt;br /&gt;
|-&lt;br /&gt;
!input || output&lt;br /&gt;
|-&lt;br /&gt;
|0||1&lt;br /&gt;
|-&lt;br /&gt;
|1||0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Connectors ===&lt;br /&gt;
&lt;br /&gt;
* Input: one of two values (0 or 1)&lt;br /&gt;
* Output: the other of the two values&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
NOT gates can often be avoided by modifying the circuit. For instance, an [[User:Carsten Milkau/OR Gate|OR Gate]] with two NOT gates connected to its inputs and outputs can always be replaced by an AND gate with just one NOT gate connected.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no single-component implementation of a NOT gate. However, if you happen to have a data signal with a known value (like a memory containing a constant), often you can feed this signal into a single component in order to turn it into a NOT gate.&lt;br /&gt;
&lt;br /&gt;
=== Using A Less-Than Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit available (e.g. a constant memory) that has a value &#039;&#039;b&#039;&#039; known to stay between 0 and 1 (but not 0), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;b&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;not_x = (x &amp;lt; b)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || &#039;&#039;b&#039;&#039; (constant or bounded value)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Lesser&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using An Equality Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit output available that is known to be zero when the NOT gate is used (e.g. a constant memory), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;0&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;not_x = (x = 0)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || 0 (constant)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Equals&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using Subtraction ===&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5945</id>
		<title>User:Carsten Milkau/NOT Gate</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5945"/>
		<updated>2018-07-22T11:51:25Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOT Gate =&lt;br /&gt;
&lt;br /&gt;
A NOT gate, sometimes also called &#039;&#039;inverter&#039;&#039;, is a circuit that outputs the value that was not input. It has a single input and output, and each can only take one of two pre-defined values (typically 0 and 1). Whatever the input value is selected, the output value will be the other of the two.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ value table&lt;br /&gt;
|-&lt;br /&gt;
!input || output&lt;br /&gt;
|-&lt;br /&gt;
|0||1&lt;br /&gt;
|-&lt;br /&gt;
|1||0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Connectors ===&lt;br /&gt;
&lt;br /&gt;
* Input: one of two values (0 or 1)&lt;br /&gt;
* Output: the other of the two values&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
NOT gates can often be avoided by modifying the circuit. For instance, an [[User:Carsten Milkau/OR Gate|OR Gate]] with two NOT gates connected to its inputs and outputs can always be replaced by an AND gate with just one NOT gate connected.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no single-component implementation of a NOT gate. However, if you happen to have a data signal with a known value (like a memory containing a constant), often you can feed this signal into a single component in order to turn it into a NOT gate.&lt;br /&gt;
&lt;br /&gt;
=== Using A Less-Than Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit available (e.g. a constant memory) that has a value &#039;&#039;b&#039;&#039; known to stay between 0 and 1 (but not 0), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;b&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;not_x = (x &amp;lt; b)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || &#039;&#039;b&#039;&#039; (constant or bound value)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Lesser&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using An Equality Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit output available that is known to be zero when the NOT gate is used (e.g. a constant memory), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;0&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;not_x = (x = 0)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || 0 (constant)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Equals&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using Subtraction ===&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5944</id>
		<title>User:Carsten Milkau/NOT Gate</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5944"/>
		<updated>2018-07-22T11:48:01Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOT Gate =&lt;br /&gt;
&lt;br /&gt;
A NOT gate, sometimes also called &#039;&#039;inverter&#039;&#039;, is a circuit that outputs the value that was not input. It has a single input and output, and each can only take one of two pre-defined values (typically 0 and 1). Whatever the input value is selected, the output value will be the other of the two.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ value table&lt;br /&gt;
|-&lt;br /&gt;
!input || output&lt;br /&gt;
|-&lt;br /&gt;
|0||1&lt;br /&gt;
|-&lt;br /&gt;
|1||0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Connectors ===&lt;br /&gt;
&lt;br /&gt;
* Input: one of two values (0 or 1)&lt;br /&gt;
* Output: the other of the two values&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
NOT gates can often be avoided by modifying the circuit. For instance, an [[User:Carsten Milkau/OR Gate|OR Gate]] with two NOT gates connected to its inputs and outputs can always be replaced by an AND gate with just one NOT gate connected.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no single-component implementation of a NOT gate. However, if you happen to have a data signal with a known value (like a memory containing a constant), often you can feed this signal into a single component in order to turn it into a NOT gate.&lt;br /&gt;
&lt;br /&gt;
=== Using A Less-Than Comparator ===&lt;br /&gt;
&lt;br /&gt;
[[File:CompareUnit.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you have a circuit available (e.g. a constant memory) that has a value &#039;&#039;b&#039;&#039; known to stay between 0 and 1 (but not 0), you can turn a [[Kit (Logic Processor)#Compare Unit|Compare Unit]] into a logic NOT gate by comparing the input &#039;&#039;x&#039;&#039; to &#039;&#039;b&#039;&#039;, i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;not_x = (x &amp;lt; b)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ circuit setup&lt;br /&gt;
|-&lt;br /&gt;
! unit || unit type || connector/setting || source / value&lt;br /&gt;
|-&lt;br /&gt;
|compare 1 || Compare Unit || Input 1 || x &#039;&#039;&#039;(input)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| || || Input 2 || &#039;&#039;b&#039;&#039; (constant or bound value)&lt;br /&gt;
|-&lt;br /&gt;
| || || Operation Selector || Lesser&lt;br /&gt;
|-&lt;br /&gt;
| || || Output || y &#039;&#039;&#039;(output)&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using An Equality Comparator ===&lt;br /&gt;
=== Using Subtraction ===&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5943</id>
		<title>User:Carsten Milkau/NOT Gate</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=User:Carsten_Milkau/NOT_Gate&amp;diff=5943"/>
		<updated>2018-07-22T10:35:00Z</updated>

		<summary type="html">&lt;p&gt;89.16.148.86: /* Implementation */ Improved example of NOT gate elimination&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOT Gate =&lt;br /&gt;
&lt;br /&gt;
A NOT gate, sometimes also called &#039;&#039;inverter&#039;&#039;, is a circuit that outputs the value that was not input. It has a single input and output, and each can only take one of two pre-defined values (typically 0 and 1). Whatever the input value is selected, the output value will be the other of the two.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ value table&lt;br /&gt;
|-&lt;br /&gt;
!input || output&lt;br /&gt;
|-&lt;br /&gt;
|0||1&lt;br /&gt;
|-&lt;br /&gt;
|1||0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Connectors ===&lt;br /&gt;
&lt;br /&gt;
* Input: one of two values (0 or 1)&lt;br /&gt;
* Output: the other of the two values&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
NOT gates can often be avoided by modifying the circuit. For instance, an [[User:Carsten Milkau/OR Gate|OR Gate]] with two NOT gates connected to its inputs and outputs can always be replaced by an AND gate with just one NOT gate connected.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no single-component implementation of a NOT gate. However, if you happen to have a data signal with a known value (like a memory containing a constant), often you can feed this signal into a single component in order to turn it into a NOT gate.&lt;br /&gt;
&lt;br /&gt;
=== Using A Less-Than Comparator ===&lt;br /&gt;
=== Using An Equality Comparator ===&lt;br /&gt;
=== Using Subtraction ===&lt;/div&gt;</summary>
		<author><name>89.16.148.86</name></author>
	</entry>
</feed>