Actions

Difference between revisions of "Stacker"

From Unofficial Stationeers Wiki

m (fixed formatting error)
Line 33: Line 33:
 
! 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
Line 39: Line 39:
 
| 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 45: Line 45:
 
| 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. Mode 1 sets this to -1 as default.<br> A value of -1 seems to mean hold export.
 
|}
 
|}
  
Line 65: Line 65:
 
| 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 require 5W to operate.
Line 73: Line 73:
 
| 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 103: Line 103:
 
! 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 111: Line 111:
 
| 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 135: Line 135:
 
| 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. As there is only one export slot, this param does 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.
 
|-
 
|-
 
|}
 
|}

Revision as of 23:36, 21 October 2019

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


Description

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

Stacker
Operation
Power Usage 5W
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

These are all Data Network properties of this device.

Data Parameters

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
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. Mode 1 sets this to -1 as default.
A value of -1 seems to mean hold export.

Data Outputs

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

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

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

These are all Data Network properties of this device.

Data Parameters

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

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.