Actions

Template

Data Parameters

From Unofficial Stationeers Wiki

Revision as of 07:01, 19 May 2024 by Emilgardis (talk | contribs) (rework data parameters)

Data Parameters

This device does not have any logic parameters and can not be selected with a Logic Writer or a Batch Writer.

Template documentation[view] [edit] [history] [purge]

Data Parameters template

This template is meant to be used for Structures, that support connections to the Data Network. It provides a heading for Data parameters. If anything is passed to the first positional parameter of the template, it will display a text that indicates, that the structure does not have any parameters.

Data Parameters

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

Parameter Name Data Type Access Value Description
Power Boolean
Read
0 Off Can be read to return if the device is correctly powered or not, set via the power system, return 1 if powered and 0 if not
1 On
Mode Integer
Read Write
0 Split The mode of the Sorter, Split does alternate outputs, Filter decides output via Motherboard (Sorter), Logic determines output via parameter Output
1 Filter
2 Logic
Error Boolean
Read
0 </p> 1 if device is in error state, otherwise 0
1 Error
Lock Boolean
Read Write
0 Unlocked Disable manual operation of the Sorter.
1 Locked
On Integer
Read Write
0 On The current state of the Sorter.
1 Off
RequiredPower Integer
Read
Idle operating power quantity, does not necessarily include extra demand power
ClearMemory Integer
Write
When set to 1, clears the counter memory (e.g. ExportCount). Will set itself back to 0 when actioned
ExportCount Integer
Read
How many items exported since last ClearMemory
ImportCount Integer
Read
How many items imported since last ClearMemory
Output Integer
Read Write
-1 Unset In Logic mode, decides which side the next item will be sent to. (defaults to -1 after action)
0 Straight
1 Side
PrefabHash Integer
Read
The hash of the structure
ReferenceId Integer
Read
Unique Reference Identifier for this object
NameHash Integer
Read
Provides the hash value for the name of the object as a 32 bit integer.