Actions

Difference between revisions of "Always-on circuit guide"

From Unofficial Stationeers Wiki

(checked typing)
(Improved version)
Line 11: Line 11:
 
*This little thing was invented by user '''"Simoyd"''' in discord-chat "logic-ciruit-discussion" and needed and created by user "Raumfahrtdoc"
 
*This little thing was invented by user '''"Simoyd"''' in discord-chat "logic-ciruit-discussion" and needed and created by user "Raumfahrtdoc"
 
*This is super useful to restart the [[Kit (Gas Generator)]] / [[Gas Generator]]
 
*This is super useful to restart the [[Kit (Gas Generator)]] / [[Gas Generator]]
 +
 +
== Improved version ==
 +
 +
[[File:Improved Always-On-Circuit.png|thumb|Improved Always-On-Circuit using only two I/O and two processing units.|thumb]]
 +
 +
Using the new [[Kit_(Logic_Processor)#Min.2FMax_Unit|Min/Max Unit]] as an OR gate and [[Kit_(Logic_Processor)#Compare_Unit|Compare unit]] as a (controlled) NOT gate, a much cheaper version is possible. Basically, it is a controlled clock that only runs when the device is off and otherwise stays at 1. The circuit can also be modified easily to make an always-off circuit (e.g. to auto-close doors), see table below.
 +
 +
{| class="wikitable"
 +
|+ Circuit setup
 +
|-
 +
! Unit name || Unit type    || Connector / Setting || Source / Value
 +
|-
 +
| reader    || Logic Reader Unit || IN            || '''device''' (whatever you want to control)
 +
|-
 +
|          ||              || VAR                || On (''Open'' for a door or switch)
 +
|-
 +
| max      || Min/Max Unit || OPR                || Greater (''Less'' for an always-off-circuit)
 +
|-
 +
|          ||              || 1 (input 1)        || reader
 +
|-
 +
|          ||              || 2 (input 2)        || compare
 +
|-
 +
| compare  || Compare Unit || OUT                || Equals (''NotEquals'' for an always-off-circuit)
 +
|-
 +
|          ||              || 1 (input 1)        || reader
 +
|-
 +
|          ||              || 2 (input 2)        || max
 +
|-
 +
| writer    || Logic Writer || IN                  || max (''compare'' will also do)
 +
|-
 +
|          ||              || OUT                || '''device''' (whatever you want to control)
 +
|-
 +
|          ||              || OUT VAR            || On (''Open'' for a door or switch)
 +
|}

Revision as of 16:28, 17 August 2018

This circuit will check a device - in this example a Wall Light - and restart it, if it will shut down / deactivate for a reason.

AlwaysOnCircuit.jpg


Trivia

  • This little thing was invented by user "Simoyd" in discord-chat "logic-ciruit-discussion" and needed and created by user "Raumfahrtdoc"
  • This is super useful to restart the Kit (Gas Generator) / Gas Generator

Improved version

thumb

Using the new Min/Max Unit as an OR gate and Compare unit as a (controlled) NOT gate, a much cheaper version is possible. Basically, it is a controlled clock that only runs when the device is off and otherwise stays at 1. The circuit can also be modified easily to make an always-off circuit (e.g. to auto-close doors), see table below.

Circuit setup
Unit name Unit type Connector / Setting Source / Value
reader Logic Reader Unit IN device (whatever you want to control)
VAR On (Open for a door or switch)
max Min/Max Unit OPR Greater (Less for an always-off-circuit)
1 (input 1) reader
2 (input 2) compare
compare Compare Unit OUT Equals (NotEquals for an always-off-circuit)
1 (input 1) reader
2 (input 2) max
writer Logic Writer IN max (compare will also do)
OUT device (whatever you want to control)
OUT VAR On (Open for a door or switch)