Actions

Difference between revisions of "Kit (IC Housing)"

From Unofficial Stationeers Wiki

(Use proper/better category -> IC10)
(Added prefab, hash and stack size)
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{Itembox
 
{{Itembox
 
  | name        = Kit (IC Housing)
 
  | name        = Kit (IC Housing)
  | image      = [[File:Kit(IC10).jpg|thumb|Kit (IC Housing)]]
+
  | image      = [[File:Kit (IC Housing).png|Kit to build the IC Housing]]
 +
| prefabhash = 1512322581
 +
| prefabname = ItemKitLogicCircuit
 
  | createdwith = [[Electronics Printer]]
 
  | createdwith = [[Electronics Printer]]
 
  | cost        = 10 [[Copper]], 4 [[Steel]], 2 [[Solder]]
 
  | cost        = 10 [[Copper]], 4 [[Steel]], 2 [[Solder]]
  | stacks      = Yes
+
  | stacks      = 5
 +
 
 
}}
 
}}
 
{{Structurebox
 
{{Structurebox
 
  | name            = IC Housing
 
  | name            = IC Housing
 
  | image            = [[File:Integrated Circuit (IC10) Housingb.jpg|thumb|Integrated Circuit (IC10) Housing]]
 
  | image            = [[File:Integrated Circuit (IC10) Housingb.jpg|thumb|Integrated Circuit (IC10) Housing]]
 +
| prefab_hash = -128473777
 +
| prefab_name = StructureCircuitHousing
 
  | power_usage      = 50W
 
  | power_usage      = 50W
 
  | placed_with_item =  
 
  | placed_with_item =  
Line 24: Line 29:
 
  | item_rec3        =  
 
  | item_rec3        =  
 
}}
 
}}
==Purpose==
+
==Description==
 +
An IC Housing is used in combination with an inserted [[Integrated_Circuit_(IC10)|integrated circuit]] to run an [[IC10|IC10]] script and access devices on the data network.<br/>
 +
Each of the 6 I/O screws can be used to link an individual device to the corresponding [[IC10#IO_to_Device_registers|device register]] in the program.<br/>
 +
Devices can also be accessed with [[IC10#batch_IO_to_-_Device_registers|batch instructions]] to read or write the same parameter on multiple devices. Batch access can be used in combination with name hashes to overcome the limit of 1 device per screw.
  
Holds an [[Integrated_Circuit_(IC10)|integrated circuit]].<br>
+
The indicator in the top right-hand corner shows the [[IC10#Stack_Memory|stack]] activity of the inserted IC. It flashes yellow if the stack is modified (e.g. put or pop) and green if the stack is accessed but remains unchanged (e.g. peek).
Has 6 Input/Outputs that can be linked using a [[Screwdriver]].
 
  
 
{{Data Network Header}}
 
{{Data Network Header}}
Line 38: Line 45:
 
| Activate || Boolean || 0 on placement. Once a 1 is written, it will not change.<br> Can be used as a program start delay?
 
| Activate || Boolean || 0 on placement. Once a 1 is written, it will not change.<br> Can be used as a program start delay?
 
|-
 
|-
| Setting || Float ||
+
| Setting || Float || Can be used as an I/O variable
 
|-
 
|-
 
| On || Boolean ||
 
| On || Boolean ||
Line 53: Line 60:
 
| Activate || Boolean ||
 
| Activate || Boolean ||
 
|-
 
|-
| Setting || Float ||
+
| Setting || Float || Can be used as an I/O variable
 
|-
 
|-
 
| RequiredPower || Integer ||
 
| RequiredPower || Integer ||
Line 63: Line 70:
 
| On || Boolean ||
 
| On || Boolean ||
 
|}
 
|}
The Setting can be adjusted within the code of a socketed IC using an instruction like <code>s db Setting r0</code> which is useful when trying to pass a value from an IC to a [[Kit (Logic I/O)#Batch Writer|Batch Writer]].
+
==Note==
 +
The <code>Setting</code> parameter can be accessed by the inserted IC using the db device register. This can be useful for passively communicating information with devices on the network, such as other IC Housings or a [[Kit (Logic I/O)|Logic I/O]] module. <br/>
 
</translate>
 
</translate>

Latest revision as of 18:34, 5 September 2024


Kit (IC Housing)
Kit to build the IC Housing
Properties
Stacks Yes (5)
Recipe
Created With Electronics Printer
Cost 10 Copper, 4 Steel, 2 Solder
Logic
Item Hash 1512322581
Item Name ItemKitLogicCircuit
IC Housing
Integrated Circuit (IC10) Housing
Operation
Power Usage 50W
Prefab Hash -128473777
Prefab Name StructureCircuitHousing
Construction
Placed on Small grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill


Description[edit]

An IC Housing is used in combination with an inserted integrated circuit to run an IC10 script and access devices on the data network.
Each of the 6 I/O screws can be used to link an individual device to the corresponding device register in the program.
Devices can also be accessed with batch instructions to read or write the same parameter on multiple devices. Batch access can be used in combination with name hashes to overcome the limit of 1 device per screw.

The indicator in the top right-hand corner shows the stack activity of the inserted IC. It flashes yellow if the stack is modified (e.g. put or pop) and green if the stack is accessed but remains unchanged (e.g. peek).

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).


Parameter Name Data Type Description
Activate Boolean 0 on placement. Once a 1 is written, it will not change.
Can be used as a program start delay?
Setting Float Can be used as an I/O variable
On Boolean

Data Outputs[edit]

These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
Error Boolean
Activate Boolean
Setting Float Can be used as an I/O variable
RequiredPower Integer
PrefabHash Integer
Power Integer
On Boolean

Note[edit]

The Setting parameter can be accessed by the inserted IC using the db device register. This can be useful for passively communicating information with devices on the network, such as other IC Housings or a Logic I/O module.