Actions

Editing Sorter

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
[[Category:Machines]]
 
[[Category:Machines]]
[[Category:Import/Export]]
+
{{Itembox
 +
| name        = Kit (Sorter)
 +
| stacks      = 10
 +
| image      = [[File:ItemKitSorter.png]]
 +
| createdwith = [[Fabricator]]
 +
| cost        = 10g [[Iron]], 1g [[Gold]], 5g [[Copper]]
 +
}}
 
{{Structurebox
 
{{Structurebox
| name = Sorter
+
| name             = Sorter
| image = [[File:StructureSorter.png]]
+
| power_usage      = 5W
| prefab_hash = -1009150565
+
| placed_with_item = [[Kit (Sorter)]]
| prefab_name = StructureSorter
+
| placed_on_grid   = Small Grid
| power_usage = 5W
+
| decon_with_tool1 = [[Hand Drill]]
| placed_on_grid = Small Grid
+
| item_rec1       = [[Kit (Sorter)]]
| decon_with_tool1 = [[Hand Drill]]
 
| placed_with_item = [[Kit (Sorter)]]
 
| item_rec1 = [[Kit (Sorter)]]
 
 
}}
 
}}
{{Distinguish|Logic Sorter}}
 
  
 
==Description==
 
==Description==
 
<blockquote><q>No amount of automation is complete without some way of moving different items to different parts of a system. The [[Xigo (Faction)|Xigo]] A2B sorter can be programmed via a computer with a [[Sorter Motherboard]] to direct various items into different chute networks. Filtered items are always passed out the righthand side of the sorter, while non filtered items continue straight through.</q><br>
 
'''- Stationpedia'''</blockquote>
 
  
 
When the Mode is set to 0 or if there is no WhiteList configured on a computer, the Sorter will act as a splitter: items will alternate their output lane each time. The Output property will switch value accordingly.
 
When the Mode is set to 0 or if there is no WhiteList configured on a computer, the Sorter will act as a splitter: items will alternate their output lane each time. The Output property will switch value accordingly.
  
When controlled by a [[computer]] with a [[Motherboard| Motherboard (Sorter)]] you can whitelist item(s) or itemgroup(s) and discard the rest out the alternate lane. If you are looking at  the output side of the machine (with the power switch on your right) whitelist output is left, discarded items output is right.
+
When controlled by a [[computer]] with a [[Motherboard| Motherboard (Sorter)]] you can whitelist item(s) or itemgroup(s) and discard the rest out the alternate lane.
  
 
Changing Output or Mode via logic or IC can cause an item to get stuck in the sorter until the logic circuit or IC command the Output to either 0 or 1.  This behavior is normal.  After the first output, the Output variable is set to -1. This is normal behavior and a reset circuit (using logic chips) or Output loop (using IC) will serve the purpose of using the ports properly so long as they send the Output variable after each item enters the sorter.
 
Changing Output or Mode via logic or IC can cause an item to get stuck in the sorter until the logic circuit or IC command the Output to either 0 or 1.  This behavior is normal.  After the first output, the Output variable is set to -1. This is normal behavior and a reset circuit (using logic chips) or Output loop (using IC) will serve the purpose of using the ports properly so long as they send the Output variable after each item enters the sorter.
Line 27: Line 26:
 
{{Data Network Header}}
 
{{Data Network Header}}
  
{{Data Parameters|
+
{{Data Parameters}}
{{Data Parameters/row|Power|Boolean|w=0|Can be read to return if the Sorter is correctly powered or not, set via the power system, return 1 if powered and 0 if not|multiple=2|0|Unpowered|1|Powered}}
+
{| class="wikitable"
{{Data Parameters/row|Mode|Integer|The mode of the Sorter, '''Split''' does alternate outputs, '''Filter''' decides output via [[Motherboard (Sorter)]], '''Logic''' determines output via parameter '''Output'''|multiple=3|0|Split|1|Filter|2|Logic}}
+
|-
{{Data Parameters/row|Error|Boolean|w=0|1 if device is in error state, otherwise 0|multiple=2|0|<p></p>|1|Error}}
+
! Parameter Name !! Data Type !! Description
{{Data Parameters/row|Lock|Boolean|Disable manual operation of the Sorter.|multiple=2|0|Unlocked|1|Locked}}
+
|-
{{Data Parameters/row|On|Boolean|The current state of the Sorter.|multiple=2|0|Off|1|On}}
+
| Mode || Integer || 0 = alternate outputs, 1 = sorter motherboard, 2 = logic mode; Set to 0 by default.
{{Data Parameters/row|RequiredPower|Integer|w=0|Idle operating power quantity, does not necessarily include extra demand power}}
+
|-
{{Data Parameters/row|ClearMemory|Integer|r=0|When set to 1, clears the counter memory (e.g. ExportCount). Will set itself back to 0 when actioned}}
+
| Lock || Boolean || Disable manual control of surface buttons
{{Data Parameters/row|ExportCount|Integer|w=0|How many items exported since last ClearMemory}}
+
|-
{{Data Parameters/row|ImportCount|Integer|w=0|How many items imported since last ClearMemory}}
+
| On || Boolean ||  
{{Data Parameters/row|Output|Integer|<div>Decides which side the next item will be sent to.<br>
+
|-
In '''Logic''' mode, defaults to -1 after action. In '''Split''' mode, alternates between 0 and 1 after action. Does nothing in '''Filter''' mode.<br>
+
| ClearMemory || Boolean || Writing on this Parameter will reset the ExportCount and ImportCount values to zero.
When set to 0 the item will exit the output slot closest to the power switch. When set to 1, the item will exit the slot furthest from the power switch.</div>|multiple=3|-1|Unset|0|Straight (Near Power Switch)|1|Side}}
+
|-
{{Data Parameters/row|PrefabHash|Integer|w=0|The hash of the structure}}
+
| Output || Integer || Define the output port manually. Allow to control the Sorter via IC instead of a computer configuration, for example. (defaults to -1 after action)
{{Data Parameters/row|ReferenceId|Integer|w=0|Unique Reference Identifier for this object}}
+
|-
{{Data Parameters/row|NameHash|Integer|w=0|Provides the hash value for the name of the object as a 32 bit integer.}}
+
|}
}}
+
 
 +
{{Data Outputs}}
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|-
 +
| Mode || Integer ||
 +
|-
 +
| 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 rejected Export Slot (as in : every time a non whitelisted item is sorted.
 +
|-
 +
| Error || Boolean ||  
 +
|-
 +
| Requiredpower || Integer || In Watts. The Sorter requires 100W of power to function
 +
|-
 +
| PrefabHash || Integer || Returns [[ItemHash]] of device
 +
|-
 +
| Power || Boolean || Device on and receiving power (true\false)
 +
|-
 +
| Output || Integer || if set to 0, the next item will exit from the right side slot (while facing the exits side of the sorter). If set to 1, the next item will exit the from the left side. (defaults to -1 after action)
 +
|-
 +
| On || Boolean ||  
 +
|-
 +
|}
  
=== Data Slots ===
+
==== Data Slots ====
 
These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Slots_Reader|Slots Reader]]. The outputs are listed in the order a Slots Reader's "VAR" setting cycles through them.
 
These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Slots_Reader|Slots Reader]]. The outputs are listed in the order a Slots Reader's "VAR" setting cycles through them.
 
{| class="wikitable"
 
{| class="wikitable"
Line 80: Line 105:
 
|}
 
|}
  
== Item Slot Classes / Types ==
+
==== Item Classes ====
 +
 
 +
{{incomplete}}
  
 
Reading the ''class'' attribute of the input slot will give one of the following values:
 
Reading the ''class'' attribute of the input slot will give one of the following values:
 
Note that you can use <pre style="display: inline">SlotClass.<Item></pre> directly in IC code instead of the numeric value
 
*NOTE The classes listed in this section are FilterSlotTypeCompare and NOT sorting class. 
 
  
 
{| class="wikitable"
 
{| class="wikitable"
|+ Item values and descriptions
 
! Item !! Value !! Description !! Item !! Value !! Description !! Item !! Value !! Description
 
|-
 
| None || 0 || || Helmet || 1 || || Suit || 2 ||
 
|-
 
| Back || 3 || || GasFilter || 4 || || GasCanister || 5 ||
 
|-
 
| Motherboard || 6 || || Circuitboard || 7 || || DataDisk || 8 ||
 
|-
 
| Organ || 9 || || Ore || 10 || Includes reagent mixes from recycler and ices || Plant || 11 ||
 
|-
 
| Uniform || 12 || || Entity || 13 || || Battery || 14 ||
 
|-
 
| Egg || 15 || || Belt || 16 || || Tool || 17 ||
 
|-
 
| Appliance || 18 || || Ingot || 19 || || Torpedo || 20 ||
 
|-
 
| Cartridge || 21 || || AccessCard || 22 || || Magazine || 23 ||
 
 
|-
 
|-
| Circuit || 24 || || Bottle || 25 || || ProgrammableChip || 26 ||
+
! Id !! Type !! Notes
 
|-
 
|-
| Glasses || 27 || || CreditCard || 28 || || DirtCanister || 29 ||
+
| 4 || Filter ||
 
|-
 
|-
| SensorProcessingUnit || 30 || || LiquidCanister || 31 || || LiquidBottle || 32 ||
+
| 10 || Ore || Includes reagent mixes from recycler
 
|-
 
|-
| Wreckage || 33 || || SoundCartridge || 34 || || DrillHead || 35 ||
+
| 17 || Tool ||
 
|-
 
|-
| ScanningHead || 36 || || Flare || 37 || || Blocked || 38 ||
+
| 19 || Ingot ||
 
|-
 
|-
| SuitMod || 39 || || Crate || 40 || || Portables || 41 ||
 
 
|}
 
|}

Please note that all contributions to Unofficial Stationeers Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Unofficial Stationeers Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)