Actions

Difference between revisions of "Kit (Logic Processor)"

From Unofficial Stationeers Wiki

m
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
[[Category:Circuits]]
 +
{{Structurebox
 +
| name            = Math Unit
 +
| image            = [[File:MathUnit.png|Logic Processor Variation: Math Unit]]
 +
| power_usage      = 10W
 +
| placed_with_item = [[Kit (Logic Processor)]]
 +
| placed_on_grid  = Small Grid, On Frames, resources_needed = 1g gold, 1 copper
 +
 +
| decon_with_tool1 = [[Hand Drill]]
 +
}}
 +
{{Structurebox
 +
| name            = Compare Unit
 +
| image            = [[File:CompareUnit.png|Logic Processor Variant: Compare Unit]]
 +
| power_usage      = 10W
 +
| placed_with_item = [[Kit (Logic Processor)]]
 +
| placed_on_grid  = Small Grid, On Frames
 +
| decon_with_tool1 = [[Hand Drill]]
 +
}}
 +
{{Structurebox
 +
| name            = Select Unit
 +
| image            = [[File:SelectUnit.png|Logic Processor Variant: Select Unit]]
 +
| power_usage      = 10W
 +
| placed_with_item = [[Kit (Logic Processor)]]
 +
| placed_on_grid  = Small Grid, On Frames
 +
| decon_with_tool1 = [[Hand Drill]]
 +
}}
 +
{{Structurebox
 +
| name            = Min/Max Unit
 +
| image            = [[File:MinMaxUnit.png|Logic Processor Variation: Min/Max Unit]]
 +
| power_usage      = 10W
 +
| placed_with_item = [[Kit (Logic Processor)]]
 +
| placed_on_grid  = Small Grid, On Frames
 +
| decon_with_tool1 = [[Hand Drill]]
 +
}}
 +
{{Structurebox
 +
| name            = Unary Math Unit
 +
| image            = [[File:MathUnary.png|Logic Processor Variation: Unary Math Unit]]
 +
 +
| power_usage      = 10W
 +
| placed_with_item = [[Kit (Logic Processor)]]
 +
| placed_on_grid  = Small Grid, On Frames
 +
| decon_with_tool1 = [[Hand Drill]]
 +
}}
 +
{{Structurebox
 +
| name            = Gate Unit
 +
| image            = [[File:GateUnit.png|Logic Processor Variation: Logic Gate Unit]]
 +
 +
| power_usage      = 10W
 +
| placed_with_item = [[Kit (Logic Processor)]]
 +
| placed_on_grid  = Small Grid, On Frames
 +
| decon_with_tool1 = [[Hand Drill]]
 +
}}
 +
 
The Logic Processor is a multi-purpose Logic Circuit unit that has variants, all related to some mathematical operation.
 
The Logic Processor is a multi-purpose Logic Circuit unit that has variants, all related to some mathematical operation.
  
 
== Math Unit ==
 
== Math Unit ==
 
[[File:MathUnit.png|Logic Processor Variation: Math Unit]]
 
 
 
=== Connectors ===
 
=== Connectors ===
  
Line 25: Line 75:
 
* Divide: Divides the left operand by the right operand (output = i1 / i2)
 
* Divide: Divides the left operand by the right operand (output = i1 / i2)
 
* Mod: Runs the modulo function such that output = i1 % i2, where the output is the remainder of the division of the left operand by the right operand.
 
* Mod: Runs the modulo function such that output = i1 % i2, where the output is the remainder of the division of the left operand by the right operand.
 +
* Atan2: Arc Tangent of y/x. (Inverse Tan of [ i2 / i1 ] ).
  
== Unary Math Unit ==
+
== Compare Unit ==
  
[[File:MathUnary.png|Logic Processor Variation: Unary Math Unit]]
 
  
 
=== Connectors ===
 
=== Connectors ===
  
 
* Top: Power
 
* Top: Power
* Left: Input
+
* Left: Input 1
* Right: Output
+
* Right: Input 2
 +
* Bottom: Output
  
 
=== Screws (options) ===
 
=== Screws (options) ===
  
* Left: Input Selector. Click with the Screwdriver to select the input data.
+
* Bottom Left: Input 1 Selector. Click with screwdriver to select the "left" operand
* Right: Operation Selector. Click with Screwdriver to select what operation to run on the Input.
+
* Bottom Right: Input 2 Selector. Click with screwdriver to select the "right" operand
 +
* Bottom Center: Operation Selector. Click with screwdriver to select what operation to run on the 2 inputs.
  
 
=== Available Operations ===
 
=== Available Operations ===
  
* Ceil: Rounds the input '''Up''' to the closest whole integer.
+
'''Note:''' This is a floating point comparison and is very precise!
* Floor: Rounds the input '''Down''' to the closest whole integer.
+
 
* Abs: Ensures the input is Positive and not Negative (converts -1 to 1, -123.456 to 123.456, etc). Has no effect on positive numbers.
+
* Equals: Outputs 1 (true) if Input 1 is exactly equal to Input 2, otherwise outputs 0 (false).
* Log: The natural logarithm of the input. The natural logarithm of x is the power to which e (Euler's number) would have to be raised to equal x.  
+
* NotEquals: Outputs 1 (true) if Input 1 has a different value than Input 2, otherwise outputs 0 (false).
* Exp: The natural exponential function of the input. e raised to the power of the input.  
+
* Greater: Outputs 1 (true) if Input 1 is greater than Input 2, otherwise outputs 0 (false).
* Round: Rounds the input to the closest whole integer.
+
* Lesser: Outputs 1 (true) if Input 1 is smaller/lesser than Input 2, otherwise outputs 0 (false).
 +
 
 +
 
 +
== Select Unit ==
 +
 
 +
 
 +
=== Connectors ===
 +
 
 +
* Top: Power and Selector Input
 +
* Left: Input 1
 +
* Right: Input 2
 +
* Bottom: Output
 +
 
 +
=== Screws (options) ===
 +
 
 +
* Top: Selector Input. Use Screwdriver to select what input is used to flip the selection. This should usually be a unit that outputs a true/false value (0 for false, 1 for true), such as a Logic Compare unit.
 +
* Bottom Left: Input 1 Selector. Use Screwdriver to select what value to use when the Selector Input value is 0 (false).
 +
* Bottom Right: Input 2 Selector. Use Screwdriver to select what value to use when the Selector Input value is 1 (true).
 +
 
  
 
== Min/Max Unit ==
 
== Min/Max Unit ==
  
[[File:MinMaxUnit.png|Logic Processor Variation: Min/Max Unit]]
 
  
 
=== Connectors ===
 
=== Connectors ===
Line 72: Line 141:
 
* Greater: '''Outputs Input 1 if Input 1 is greater than Input 2, otherwise outputs Input 2'''
 
* Greater: '''Outputs Input 1 if Input 1 is greater than Input 2, otherwise outputs Input 2'''
  
== Logic Select Unit ==
 
  
[[File:SelectUnit.png|Logic Processor Variant: Select Unit]]
+
 
 +
== Unary Math Unit ==
  
 
=== Connectors ===
 
=== Connectors ===
  
* Top: Power and Selector Input
+
* Top: Power
* Left: Input 1
+
* Left: Input
* Right: Input 2
+
* Right: Output
* Bottom: Output
 
  
 
=== Screws (options) ===
 
=== Screws (options) ===
  
* Top: Selector Input. Use Screwdriver to select what input is used to flip the selection. This should usually be a unit that outputs a true/false value (0 for false, 1 for true), such as a Logic Compare unit.
+
* Left: Input Selector. Click with the Screwdriver to select the input data.
* Bottom Left: Input 1 Selector. Use Screwdriver to select what value to use when the Selector Input value is 0 (false).
+
* Right: Operation Selector. Click with Screwdriver to select what operation to run on the Input.
* Bottom Right: Input 2 Selector. Use Screwdriver to select what value to use when the Selector Input value is 1 (true).
+
 
 +
=== Available Operations ===
 +
 
 +
* Ceil: Rounds the input '''Up''' to the closest whole integer.
 +
* Floor: Rounds the input '''Down''' to the closest whole integer.
 +
* Abs: Ensures the input is Positive and not Negative (converts -1 to 1, -123.456 to 123.456, etc). Has no effect on positive numbers.
 +
* Log: The natural logarithm of the input. The natural logarithm of x is the power to which e (Euler's number) would have to be raised to equal x.  
 +
* Exp: The natural exponential function of the input. e raised to the power of the input.
 +
* Round: Rounds the input to the closest whole integer.
  
== Compare Unit ==
 
  
[[File:CompareUnit.png|Logic Processor Variant: Compare Unit]]
+
== Logic Gate Unit ==
  
 
=== Connectors ===
 
=== Connectors ===
Line 102: Line 177:
 
=== Screws (options) ===
 
=== Screws (options) ===
  
* Bottom Left: Input 1 Selector. Click with screwdriver to select the "left" operand
+
* Top: Operation Selector. Click with the Screwdriver to select the logic operation to be performed on the two inputs
* Bottom Right: Input 2 Selector. Click with screwdriver to select the "right" operand
+
* Left: Input Selector. Click with the Screwdriver to select the input data.
* Bottom Center: Operation Selector. Click with screwdriver to select what operation to run on the 2 inputs.
+
* Right: Input Selector. Click with the Screwdriver to select the input data.
  
 
=== Available Operations ===
 
=== Available Operations ===
  
'''Note:''' This is a floating point comparison and is very precise!
+
'''Note:''' The operations as described below are '''logical''' as opposed to '''bitwise'''. All non-zero inputs are effectively treated as '''One''' or '''True''', therefore an '''OR''' operation where input 1 is the value of '''four''' and input 2 is the value of '''one''' will result in an output of '''1''' as opposed to '''5''' as it would be in a bitwise OR.
 +
 
 +
* OR: Where '''either''' inputs are '''True''' the output will be '''True (1)''', otherwise the output will be '''False (0)'''
 +
* AND: Where '''both''' inputs are '''True''' the output will be '''True (1)''', otherwise the output will be '''False (0)'''
 +
* XOR: Similar to the '''OR''' operation with the exception that if '''both''' inputs are '''True''', the output will be '''False (0)'''
 +
 
 +
The following operations simply '''invert''' the output of the aforementioned '''OR''', '''AND''' and '''XOR''' operations.
  
* Equals: Outputs 1 (true) if Input 1 is exactly equal to Input 2, otherwise outputs 0 (false).
+
* NOR: Inverted '''OR''' output. If a standard '''OR''' operation outputs '''True (1)''', this operation will output '''False (0)''' and visa-versa.
* NotEquals: Outputs 1 (true) if Input 1 has a different value than Input 2, otherwise outputs 0 (false).
+
* NAND: Inverted '''AND''' output. If a standard '''AND''' operation outputs '''True (1)''', this operation will output '''False (0)''' and visa-versa.
* Greater: Outputs 1 (true) if Input 1 is greater than Input 2, otherwise outputs 0 (false).
+
* XNOR: Inverted '''XOR''' output. If a standard '''XOR''' operation outputs '''True (1)''', this operation will output '''False (0)''' and visa-versa.
* Lesser: Outputs 1 (true) if Input 1 is smaller/lesser than Input 2, otherwise outputs 0 (false).
 

Latest revision as of 10:35, 31 July 2022

Math Unit
Logic Processor Variation: Math Unit
Operation
Power Usage 10W
Construction
Placed with Kit (Logic Processor)
Placed on Small Grid, On Frames, resources_needed = 1g gold, 1 copper
Stage 1
Deconstruction
Deconstructed with Hand Drill
Compare Unit
Logic Processor Variant: Compare Unit
Operation
Power Usage 10W
Construction
Placed with Kit (Logic Processor)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Select Unit
Logic Processor Variant: Select Unit
Operation
Power Usage 10W
Construction
Placed with Kit (Logic Processor)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Min/Max Unit
Logic Processor Variation: Min/Max Unit
Operation
Power Usage 10W
Construction
Placed with Kit (Logic Processor)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Unary Math Unit
Logic Processor Variation: Unary Math Unit
Operation
Power Usage 10W
Construction
Placed with Kit (Logic Processor)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Gate Unit
Logic Processor Variation: Logic Gate Unit
Operation
Power Usage 10W
Construction
Placed with Kit (Logic Processor)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill

The Logic Processor is a multi-purpose Logic Circuit unit that has variants, all related to some mathematical operation.

Math Unit[edit]

Connectors[edit]

  • Top: Power
  • Left: Input 1
  • Right: Input 2
  • Bottom: Output

Screws (options)[edit]

  • Left: Input 1 Selector. Click with screwdriver to select the "left" operand
  • Right: Input 2 Selector. Click with screwdriver to select the "right" operand
  • Bottom: Operation Selector. Click with screwdriver to select what operation to run on the 2 inputs.

Available Operations[edit]

  • Add: Adds the two inputs together. (output = i1 + i2)
  • Subtract: Substract the right operand from the left one. (output: i1 - i2)
  • Multiply: Multiplies the two inputs (output = i1 x i2)
  • Divide: Divides the left operand by the right operand (output = i1 / i2)
  • Mod: Runs the modulo function such that output = i1 % i2, where the output is the remainder of the division of the left operand by the right operand.
  • Atan2: Arc Tangent of y/x. (Inverse Tan of [ i2 / i1 ] ).

Compare Unit[edit]

Connectors[edit]

  • Top: Power
  • Left: Input 1
  • Right: Input 2
  • Bottom: Output

Screws (options)[edit]

  • Bottom Left: Input 1 Selector. Click with screwdriver to select the "left" operand
  • Bottom Right: Input 2 Selector. Click with screwdriver to select the "right" operand
  • Bottom Center: Operation Selector. Click with screwdriver to select what operation to run on the 2 inputs.

Available Operations[edit]

Note: This is a floating point comparison and is very precise!

  • Equals: Outputs 1 (true) if Input 1 is exactly equal to Input 2, otherwise outputs 0 (false).
  • NotEquals: Outputs 1 (true) if Input 1 has a different value than Input 2, otherwise outputs 0 (false).
  • Greater: Outputs 1 (true) if Input 1 is greater than Input 2, otherwise outputs 0 (false).
  • Lesser: Outputs 1 (true) if Input 1 is smaller/lesser than Input 2, otherwise outputs 0 (false).


Select Unit[edit]

Connectors[edit]

  • Top: Power and Selector Input
  • Left: Input 1
  • Right: Input 2
  • Bottom: Output

Screws (options)[edit]

  • Top: Selector Input. Use Screwdriver to select what input is used to flip the selection. This should usually be a unit that outputs a true/false value (0 for false, 1 for true), such as a Logic Compare unit.
  • Bottom Left: Input 1 Selector. Use Screwdriver to select what value to use when the Selector Input value is 0 (false).
  • Bottom Right: Input 2 Selector. Use Screwdriver to select what value to use when the Selector Input value is 1 (true).


Min/Max Unit[edit]

Connectors[edit]

  • Top: Power
  • Left: Input 1
  • Right: Input 2
  • Bottom: Output

Screws (options)[edit]

  • Bottom Left: Input 1 Selector. Click with screwdriver to select the "left" operand
  • Bottom Right: Input 2 Selector. Click with screwdriver to select the "right" operand
  • Bottom Center: Operation Selector. Click with screwdriver to select what operation to run on the 2 inputs.

Available Operations[edit]

  • Less: Outputs Input 1 if Input 1 is less than Input 2, otherwise outputs Input 2
  • Greater: Outputs Input 1 if Input 1 is greater than Input 2, otherwise outputs Input 2


Unary Math Unit[edit]

Connectors[edit]

  • Top: Power
  • Left: Input
  • Right: Output

Screws (options)[edit]

  • Left: Input Selector. Click with the Screwdriver to select the input data.
  • Right: Operation Selector. Click with Screwdriver to select what operation to run on the Input.

Available Operations[edit]

  • Ceil: Rounds the input Up to the closest whole integer.
  • Floor: Rounds the input Down to the closest whole integer.
  • Abs: Ensures the input is Positive and not Negative (converts -1 to 1, -123.456 to 123.456, etc). Has no effect on positive numbers.
  • Log: The natural logarithm of the input. The natural logarithm of x is the power to which e (Euler's number) would have to be raised to equal x.
  • Exp: The natural exponential function of the input. e raised to the power of the input.
  • Round: Rounds the input to the closest whole integer.


Logic Gate Unit[edit]

Connectors[edit]

  • Top: Power
  • Left: Input 1
  • Right: Input 2
  • Bottom: Output

Screws (options)[edit]

  • Top: Operation Selector. Click with the Screwdriver to select the logic operation to be performed on the two inputs
  • Left: Input Selector. Click with the Screwdriver to select the input data.
  • Right: Input Selector. Click with the Screwdriver to select the input data.

Available Operations[edit]

Note: The operations as described below are logical as opposed to bitwise. All non-zero inputs are effectively treated as One or True, therefore an OR operation where input 1 is the value of four and input 2 is the value of one will result in an output of 1 as opposed to 5 as it would be in a bitwise OR.

  • OR: Where either inputs are True the output will be True (1), otherwise the output will be False (0)
  • AND: Where both inputs are True the output will be True (1), otherwise the output will be False (0)
  • XOR: Similar to the OR operation with the exception that if both inputs are True, the output will be False (0)

The following operations simply invert the output of the aforementioned OR, AND and XOR operations.

  • NOR: Inverted OR output. If a standard OR operation outputs True (1), this operation will output False (0) and visa-versa.
  • NAND: Inverted AND output. If a standard AND operation outputs True (1), this operation will output False (0) and visa-versa.
  • XNOR: Inverted XOR output. If a standard XOR operation outputs True (1), this operation will output False (0) and visa-versa.