Difference between revisions of "Kit (Logic I/O)"
From Unofficial Stationeers Wiki
(mention the sb MIPS instruction) |
Emilgardis (talk | contribs) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
{{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 10: | 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 18: | 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 26: | 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 34: | 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 42: | 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 80: | Line 86: | ||
== Batch Writer == | == Batch Writer == | ||
− | The Batch Writer writes to all | + | The Batch Writer writes to all connected devices of a device type. |
For example: One can control all digital valves connected in its network with a single Batch Writer. | For example: One can control all digital valves connected in its network with a single Batch Writer. | ||
Line 97: | Line 103: | ||
=== [[Integrated Circuit (IC10)]] alternative === | === [[Integrated Circuit (IC10)]] alternative === | ||
− | To simulate the functionality of a batch writer when writing [[ | + | To simulate the functionality of a batch writer when writing [[IC10]] code for the integrated circuit, use the sb ''typeHash varName value'' instruction. Typehash refers to the PrefabHash attribute value that is the same for all items of a given type and is viewable by looking at the item with a tablet that has the Configuration cartridge loaded. |
== Logic Mirror == | == Logic Mirror == | ||
− | The Logic Mirror is reading all data from | + | The Logic Mirror is reading all data from its target device. The target device is set by the screw on the Logic Chip. Its 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 === | === Example === | ||
Line 122: | Line 128: | ||
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. | 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 == |
Latest revision as of 12:19, 23 May 2024
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 |
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 |
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 |
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 |
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 |
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[edit]
Connectors[edit]
- Left: Data Input
- Top: Power Input (10w)
- Right: Data Output
Screws[edit]
- 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[edit]
Connectors[edit]
- Left: Data Input
- Top: Power Input (10w)
- Right: Data Output
Screws[edit]
- 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[edit]
The Batch Writer writes to all connected devices of a device type. For example: One can control all digital valves connected in its network with a single Batch Writer.
Connectors[edit]
- Left: Data Input
- Top: Power Input (10w)
- Right: Data Output
Screws[edit]
- 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[edit]
To simulate the functionality of a batch writer when writing IC10 code for the integrated circuit, use the sb typeHash varName value instruction. Typehash refers to the PrefabHash attribute value that is the same for all items of a given type and is viewable by looking at the item with a tablet that has the Configuration cartridge loaded.
Logic Mirror[edit]
The Logic Mirror is reading all data from its target device. The target device is set by the screw on the Logic Chip. Its 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[edit]
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[edit]
- Left: Mirrored Device connection (other network)
- Top: Power Input (10w)
- Right: Data Input/Output (network using data from the other network)
Screws[edit]
- 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[edit]
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[edit]
Connectors[edit]
- Left: Data Input
- Top: Power Input (10w)
- Right: Data Output
Screws[edit]
- 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[edit]
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[edit]
- Left: Data Input
- Top: Power Input (10w)
- Right: Data Output
Screws[edit]
- 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.