Actions

Difference between revisions of "Stacker"

From Unofficial Stationeers Wiki

(Separating the variants in two sections, linke in the Sensors page. Adding network properties for both)
m (Added category "Import/Export")
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
[[Category:Machines]]
 
[[Category:Machines]]
 +
[[Category:Import/Export]]
 
{{Itembox
 
{{Itembox
 
  | name        = Kit (Stacker)
 
  | name        = Kit (Stacker)
Line 14: Line 15:
 
{{Structurebox
 
{{Structurebox
 
  | name            = Stacker
 
  | name            = Stacker
  | power_usage      = 5W
+
  | power_usage      = 50W
 
  | placed_with_item = [[Kit (Stacker)]]
 
  | placed_with_item = [[Kit (Stacker)]]
 
  | placed_on_grid  = Small Grid
 
  | placed_on_grid  = Small Grid
 
  | decon_with_tool1 = [[Hand Drill]]
 
  | decon_with_tool1 = [[Hand Drill]]
 
  | item_rec1        = [[Kit (Stacker)]]
 
  | item_rec1        = [[Kit (Stacker)]]
 +
| slot_0          = Import
 +
| slot_1          = Export
 +
| slot_2          = Inside Machine
 
}}
 
}}
  
Line 30: Line 34:
 
! Parameter Name !! Data Type !! Description
 
! Parameter Name !! Data Type !! Description
 
|-
 
|-
| Mode || Integer ||  
+
| Mode || Integer || 0 = Automatic stacking and export,<br> 1 = Stack and hold until Activate = 1
 
|-
 
|-
| Activate || Boolean || If set to 1, the Stacker will clear its content via its Export Slot
+
| Activate || Boolean || If set to 1, the Stacker will clear its content via its Export Slot without regard to the Setting
 
|-
 
|-
 
| Lock || Boolean ||  
 
| Lock || Boolean ||  
 
|-
 
|-
| Setting || Integer || Default is 1.
+
| Setting || Integer || Default is 1. Sets the Stack Size (won't actually stack to that size if item's max stack size is smaller)
 
|-
 
|-
 
| On || Boolean ||  
 
| On || Boolean ||  
Line 42: Line 46:
 
| ClearMemory || Integer? || Writing on this Parameter will reset the ExportCount and ImportCount values to zero.
 
| ClearMemory || Integer? || Writing on this Parameter will reset the ExportCount and ImportCount values to zero.
 
|-
 
|-
| Output || Integer || value of 0 by default. SInce there is only one export slot, this param do nothing.
+
| Output || Integer || Value of 0 for Mode 0. If you set this to 1 while in Mode 1 the stacker will export a batch of items from storage with quantity Setting.  If there are not enough items in storage, they will not be output.
 
|}
 
|}
  
Line 50: Line 54:
 
! Output Name !! Data Type !! Description
 
! Output Name !! Data Type !! Description
 
|-
 
|-
| Power || Boolean ||
+
| Mode || Boolean ||
 
|-
 
|-
| Mode || Boolean ||
+
| Lock || Boolean ||  
 
|-
 
|-
| Error || Boolean ||
+
| ImportCount || Integer || Incremented each time an item stack enter by the Import slot
 
|-
 
|-
| Activate || Boolean || 1 if empty, 0 if something is inside the sorter. When set to 0 The player can use the lever to clear the Sorter
+
| ExportCount || Integer || Incremented each time an item stack exit by the Export Slot
 
|-
 
|-
| Lock || Boolean ||  
+
| Error || Boolean ||
 
|-
 
|-
| Setting || Integer || Default is 1.
+
| Activate || Boolean || 1 if empty, 0 if something is inside the Stacker. When set to 0 The player can use the lever to clear the Stacker
 
|-
 
|-
|- On || Boolean ||  
+
| Setting || Integer || Default is 1. Shows the Stack Size this Stacker is set to.
 
|-
 
|-
 
| RequiredPower || Integer || In watts. The Stacker require 5W to operate.
 
| RequiredPower || Integer || In watts. The Stacker require 5W to operate.
 
|-
 
|-
| ExportCount || Integer || Incremented each time an item stack exit by the Export Slot
+
| PrefabHash || Float || Hash ID of the Stacker.
 +
|-
 +
| Power || Boolean ||
 
|-
 
|-
| ImportCount || Integer || Incremented each time an item stack enter by the Import slot
+
| Output || Integer || Value of 0 in Mode 0. Mode 1 sets this to -1.
 
|-
 
|-
| Output || Integer || value of 0 by default. SInce there is only one export slot, this param do nothing.
+
| On || Boolean ||  
 
|-
 
|-
 
|}
 
|}
Line 98: Line 104:
 
! Parameter Name !! Data Type !! Description
 
! Parameter Name !! Data Type !! Description
 
|-
 
|-
| Mode || Integer ||  
+
| Mode || Integer || 0 = automatic export,<br> 1 = holds export until Output set
 
|-
 
|-
 
| Lock || Boolean ||  
 
| Lock || Boolean ||  
Line 106: Line 112:
 
| ClearMemory || Integer? || Writing on this Parameter will reset the ExportCount and ImportCount values to zero.
 
| ClearMemory || Integer? || Writing on this Parameter will reset the ExportCount and ImportCount values to zero.
 
|-
 
|-
| Output || Integer || value of 0 by default. SInce there is only one export slot, this param do nothing.
+
| Output || Integer || Value of 0 in Mode 0. Mode 1 sets this to -1 as default.<br> Writing a 0 (import) will export the entire container and reset Output to -1,<br> 1 (export) will export a single item stack from the container and will reset Output to -1
 
|}
 
|}
  
Line 130: Line 136:
 
| ImportCount || Integer || Incremented each time an item stack enter by the Import slot  
 
| ImportCount || Integer || Incremented each time an item stack enter by the Import slot  
 
|-
 
|-
| Output || Integer || value of 0 by default. SInce there is only one export slot, this param do nothing.
+
| Output || Integer || Value of 0 for Mode 0. Mode 1 sets this to -1(hold output)<br>  and will reset after output is written and an item is exported.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 06:11, 27 December 2023

Kit (Stacker)
ItemKitStacker.png
Recipe
Created With Autolathe, Fabricator
Cost 10g Iron, 2g Copper


Description[edit]

The kit has 3 variations : 2 are the Stacker, with the power/data port on one side or the other. The last variant is the Unloader

Stacker[edit]

Stacker
Operation
Power Usage 50W
Construction
Placed with Kit (Stacker)
Placed on Small Grid
Slots
Slot 0 Import
Slot 1 Export
Slot 2 Inside Machine
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Stacker)

Used to stack items in a chosen quantity. The stacker holds back the input until the configured quantity can be stacked _or_ until the input item type changes. If the input is bigger than the chosen quantity, the stacker (despite it's name) splits it.

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

These are all parameters, that can be written to with a Logic Writer, Batch Writer, or Integrated Circuit (IC10). The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.

Parameter Name Data Type Description
Mode Integer 0 = Automatic stacking and export,
1 = Stack and hold until Activate = 1
Activate Boolean If set to 1, the Stacker will clear its content via its Export Slot without regard to the Setting
Lock Boolean
Setting Integer Default is 1. Sets the Stack Size (won't actually stack to that size if item's max stack size is smaller)
On Boolean
ClearMemory Integer? Writing on this Parameter will reset the ExportCount and ImportCount values to zero.
Output Integer Value of 0 for Mode 0. If you set this to 1 while in Mode 1 the stacker will export a batch of items from storage with quantity Setting. If there are not enough items in storage, they will not be output.

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
Mode Boolean
Lock Boolean
ImportCount Integer Incremented each time an item stack enter by the Import slot
ExportCount Integer Incremented each time an item stack exit by the Export Slot
Error Boolean
Activate Boolean 1 if empty, 0 if something is inside the Stacker. When set to 0 The player can use the lever to clear the Stacker
Setting Integer Default is 1. Shows the Stack Size this Stacker is set to.
RequiredPower Integer In watts. The Stacker require 5W to operate.
PrefabHash Float Hash ID of the Stacker.
Power Boolean
Output Integer Value of 0 in Mode 0. Mode 1 sets this to -1.
On Boolean

Notes[edit]

The stacker can only stack things up to the stacking limit of the given item:

  • Ingots can be stacked up to 500.
  • Ore will not stack over 50.

Unloader[edit]

Unloader
Operation
Power Usage 50W
Construction
Placed with Kit (Stacker)
Placed on Small Grid
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Stacker)

The unloader variant will empty the content of a belt/container. It will output everything that is inside, followed by belt/container itself.

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

These are all parameters, that can be written to with a Logic Writer, Batch Writer, or Integrated Circuit (IC10). The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.

Parameter Name Data Type Description
Mode Integer 0 = automatic export,
1 = holds export until Output set
Lock Boolean
On Boolean
ClearMemory Integer? Writing on this Parameter will reset the ExportCount and ImportCount values to zero.
Output Integer Value of 0 in Mode 0. Mode 1 sets this to -1 as default.
Writing a 0 (import) will export the entire container and reset Output to -1,
1 (export) will export a single item stack from the container and will reset Output to -1

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
Power Boolean
Mode Boolean
Error Boolean
Lock Boolean
On Boolean
RequiredPower Integer In watts. The Unloader require 50W to operate.
ExportCount Integer Incremented each time an item stack exit by the Export Slot
ImportCount Integer Incremented each time an item stack enter by the Import slot
Output Integer Value of 0 for Mode 0. Mode 1 sets this to -1(hold output)
and will reset after output is written and an item is exported.