Actions

Difference between revisions of "Stacker"

From Unofficial Stationeers Wiki

(Corrected typo, and re-ordered list according to reader output. Added missing prefabhash variable.)
(Grammar fixes)
 
(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
 
}}
 
}}
  
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.
+
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 its name) splits it.
  
 
{{Data Network Header}}
 
{{Data Network Header}}
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 62: Line 66:
 
| 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
 
| 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.
+
| 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 requires 5W to operate.
 
|-
 
|-
 
| PrefabHash || Float || Hash ID of the Stacker.
 
| PrefabHash || Float || Hash ID of the Stacker.
Line 70: Line 74:
 
| Power || Boolean ||
 
| Power || Boolean ||
 
|-
 
|-
| 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.
 
|-
 
|-
 
| On || Boolean ||  
 
| On || Boolean ||  
Line 100: 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 108: 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 132: 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:21, 14 May 2024


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 its 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 with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).


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 requires 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 with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).


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.