Actions

Difference between revisions of "Kit (Logic I/O)"

From Unofficial Stationeers Wiki

m (Batch Reader & Slot Reader now on stable)
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
[[Category:Circuits]]
 
{{Structurebox
 
{{Structurebox
 
  | name            = Logic Reader
 
  | name            = Logic Reader
 +
| prefab_hash      = -345383640
 
  | image            = [[File:LogicReader.jpg]]
 
  | image            = [[File:LogicReader.jpg]]
 
  | power_usage      = 10W
 
  | power_usage      = 10W
Line 9: Line 11:
 
{{Structurebox
 
{{Structurebox
 
  | name            = Logic Writer
 
  | name            = Logic Writer
 +
| prefab_hash      = -1326019434
 
  | image            = [[File:LogicWriter.jpg]]
 
  | image            = [[File:LogicWriter.jpg]]
 
  | power_usage      = 10W
 
  | power_usage      = 10W
Line 17: Line 20:
 
{{Structurebox
 
{{Structurebox
 
  | name            = Batch Writer
 
  | name            = Batch Writer
 +
| prefab_hash      = 1415443359
 
  | image            = [[File:BatchWriter.jpg]]
 
  | image            = [[File:BatchWriter.jpg]]
 
  | power_usage      = 10W
 
  | power_usage      = 10W
Line 25: Line 29:
 
{{Structurebox
 
{{Structurebox
 
  | name            = Logic Mirror
 
  | name            = Logic Mirror
 +
| prefab_hash      = 2096189278
 
  | image            = [[File:LogicMirror.jpg]]
 
  | image            = [[File:LogicMirror.jpg]]
 
  | power_usage      = 10W
 
  | power_usage      = 10W
Line 33: Line 38:
 
{{Structurebox
 
{{Structurebox
 
  | name            = Slot Reader
 
  | name            = Slot Reader
 +
| prefab_hash      = -767867194
 
  | image            = [[File:SlotReader.jpg]]
 
  | image            = [[File:SlotReader.jpg]]
 
  | power_usage      = 10W
 
  | power_usage      = 10W
Line 41: Line 47:
 
{{Structurebox
 
{{Structurebox
 
  | name            = Batch Reader
 
  | name            = Batch Reader
 +
| prefab_hash      = 264413729
 
  | image            = [[File:BatchReader.jpg]]
 
  | image            = [[File:BatchReader.jpg]]
 
  | power_usage      = 10W
 
  | power_usage      = 10W
Line 93: Line 100:
 
* Top Right: Machine Type Selector. Click to select what machine type to write to. All machines of that type will recieve the exact same data. For example selecting ''Solar Panel'' will write to all solar panels on the network.
 
* Top Right: Machine Type Selector. Click to select what machine type to write to. All machines of that type will recieve the exact same data. For example selecting ''Solar Panel'' will write to all solar panels on the network.
 
* Bottom Right: Variable Selector: Click to select what variable to write to the machines. The value written will be what is captured by the Variable Input Selector.
 
* Bottom Right: Variable Selector: Click to select what variable to write to the machines. The value written will be what is captured by the Variable Input Selector.
 +
 +
=== [[Integrated Circuit (IC10)]] alternative ===
 +
 +
To simulate the functionality of a batch writer when writing [[MIPS]] code for the integrated circuit, use the sb ''typeHash varName value'' instruction.
  
 
== Logic Mirror ==
 
== Logic Mirror ==
 +
 +
The Logic Mirror is reading all data from it's target device. The target device is set by the screw on the Logic Chip. It's purpose is to easily read a device in another network. The Logic Mirror itself is seen as a Logic Chip, it needs to be read with a Logic reader as if it was a device. Writing and reading is possible as if the target device itself is present in the logic network. If the Logic Mirror is not powered, it will not return any data.
 +
 +
=== Example ===
 +
 +
You have a gas sensor in network-1 and want to read "RatioNitrogen", "RatioPollutant", "RatioVolatiles" and "RatioWater" into network-2.
 +
 +
- Without the Logic Mirror: 4 Logic Readers are needed. If you later also want to access "Pressure" and "Temperature", two more Logic Readers are needed. Writing something to a device would require additional Logic Writers.
 +
 +
- With the Logic Mirror: Only one single Logic Mirror is needed. If you later want to access "Pressure" and "Temperature" you can do it without any new logic chip. Writing something to a device is also always possible.
  
 
=== Connectors ===
 
=== Connectors ===
  
* Left: Mirrored Device
+
* Left: Mirrored Device connection (other network)
 
* Top: Power Input (10w)
 
* Top: Power Input (10w)
* Right: Data Input/Output
+
* Right: Data Input/Output (network using data from the other network)
  
 
=== Screws ===
 
=== Screws ===
  
 
* Centre: Variable Mirroring Selector: Click with [[Screwdriver]] to select the device to mirror. This can be any machine, logic circuit, computer, etc.
 
* Centre: Variable Mirroring Selector: Click with [[Screwdriver]] to select the device to mirror. This can be any machine, logic circuit, computer, etc.
 +
 +
Note: Sometimes you can use a Logic writer to write to the other network and a Logic mirror is not needed. This is because a logic Writer can have a different network on the output connection.
 +
 +
=== Bugs ===
 +
 +
The logic mirror does not respond to ls (load slot) instructions from an [[Integrated Circuit (IC10)]], so is unsuitable for mirroring a device like a [[Vending Machine]] between networks.
  
 
== Slot Reader ==
 
== Slot Reader ==
Line 121: Line 148:
  
 
== Batch Reader ==
 
== Batch Reader ==
 +
 +
The Batch Reader is sort of the opposite of a Batch Writer - It can read from all connected devices of a device type. <br>
 +
For example: One can read from all [[Kit (Battery)]] and then average or sum the capacities, and output the value to another device.
  
 
=== Connectors ===
 
=== Connectors ===

Revision as of 19:02, 14 June 2022

Logic Reader
LogicReader.jpg
Operation
Power Usage 10W
Prefab Hash -345383640
Construction
Placed with Kit (Logic I/O)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Logic Writer
LogicWriter.jpg
Operation
Power Usage 10W
Prefab Hash -1326019434
Construction
Placed with Kit (Logic I/O)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Batch Writer
BatchWriter.jpg
Operation
Power Usage 10W
Prefab Hash 1415443359
Construction
Placed with Kit (Logic I/O)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Logic Mirror
LogicMirror.jpg
Operation
Power Usage 10W
Prefab Hash 2096189278
Construction
Placed with Kit (Logic I/O)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Slot Reader
SlotReader.jpg
Operation
Power Usage 10W
Prefab Hash -767867194
Construction
Placed with Kit (Logic I/O)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Batch Reader
BatchReader.jpg
Operation
Power Usage 10W
Prefab Hash 264413729
Construction
Placed with Kit (Logic I/O)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill

The Logic Input/Output Unit is used to Read (input) data from any machine with a data port connected through the data network, or Write (output) data to any machine with a data port connected to trough the data network. The Input, Output and Power networks can be completely separated.

Logic Reader

Connectors

  • Left: Data Input
  • Top: Power Input (10w)
  • Right: Data Output

Screws

  • Left: Input Selector. Click with Screwdriver to select from which machine to read from. Only machines with a data port connected though the cables connected to the left port can be read from.
  • Right: Variable Selector: Click to select what Variable to output into the network on the right. Different machines will have different available variables to read from.

Logic Writer

Connectors

  • Left: Data Input
  • Top: Power Input (10w)
  • Right: Data Output

Screws

  • Bottom Left: Variable Input Selector: Click with Screwdriver to select the value to input. This can be directly from a machine, another logic circuit, a computer, etc.
  • Top Right: Machine Write Selector. Click to select what machine to write to. Only machines with a data port connected though the cables connected to the right port can be written to.
  • Bottom Right: Variable Selector: Click to select what variable to write to the machine. The value written will be what is captured by the Variable Input Selector.

Batch Writer

The Batch Writer writes to all conected devices of a device type. For example: One can control all digital valves connected in its network with a single Batch Writer.

Connectors

  • Left: Data Input
  • Top: Power Input (10w)
  • Right: Data Output

Screws

  • Bottom Left: Variable Input Selector: Click with Screwdriver to select the value to input. This can be directly from a machine, another logic circuit, a computer, etc.
  • Top Right: Machine Type Selector. Click to select what machine type to write to. All machines of that type will recieve the exact same data. For example selecting Solar Panel will write to all solar panels on the network.
  • Bottom Right: Variable Selector: Click to select what variable to write to the machines. The value written will be what is captured by the Variable Input Selector.

Integrated Circuit (IC10) alternative

To simulate the functionality of a batch writer when writing MIPS code for the integrated circuit, use the sb typeHash varName value instruction.

Logic Mirror

The Logic Mirror is reading all data from it's target device. The target device is set by the screw on the Logic Chip. It's purpose is to easily read a device in another network. The Logic Mirror itself is seen as a Logic Chip, it needs to be read with a Logic reader as if it was a device. Writing and reading is possible as if the target device itself is present in the logic network. If the Logic Mirror is not powered, it will not return any data.

Example

You have a gas sensor in network-1 and want to read "RatioNitrogen", "RatioPollutant", "RatioVolatiles" and "RatioWater" into network-2.

- Without the Logic Mirror: 4 Logic Readers are needed. If you later also want to access "Pressure" and "Temperature", two more Logic Readers are needed. Writing something to a device would require additional Logic Writers.

- With the Logic Mirror: Only one single Logic Mirror is needed. If you later want to access "Pressure" and "Temperature" you can do it without any new logic chip. Writing something to a device is also always possible.

Connectors

  • Left: Mirrored Device connection (other network)
  • Top: Power Input (10w)
  • Right: Data Input/Output (network using data from the other network)

Screws

  • Centre: Variable Mirroring Selector: Click with Screwdriver to select the device to mirror. This can be any machine, logic circuit, computer, etc.

Note: Sometimes you can use a Logic writer to write to the other network and a Logic mirror is not needed. This is because a logic Writer can have a different network on the output connection.

Bugs

The logic mirror does not respond to ls (load slot) instructions from an Integrated Circuit (IC10), so is unsuitable for mirroring a device like a Vending Machine between networks.

Slot Reader

Connectors

  • Left: Data Input
  • Top: Power Input (10w)
  • Right: Data Output

Screws

  • Left: Variable Input Selector: Click with Screwdriver to select the value to input. This can be from any device that has inventory slots, etc.
  • Centre: Slot Selector: Click to Select which slot to read from.
  • Right: Variable Selector: Click to select what variable to output into the network on the right.

Batch Reader

The Batch Reader is sort of the opposite of a Batch Writer - It can read from all connected devices of a device type.
For example: One can read from all Kit (Battery) and then average or sum the capacities, and output the value to another device.

Connectors

  • Left: Data Input
  • Top: Power Input (10w)
  • Right: Data Output

Screws

  • Bottom Left: Variable Input Selector: Click with Screwdriver to select from which machine type to read from.
  • Top Right: Method Selector. Click to select by which method to pull data.
  • Bottom Right: Variable Selector: Click to select what variable to output into the network on the right.