Actions

Template

Difference between revisions of "Data Parameters"

From Unofficial Stationeers Wiki

(rework data parameters)
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
}}
 
}}
 
{{!}}}
 
{{!}}}
|This device does not have any logic parameters and can not be selected with a [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]] or a [[Kit_(Logic_I/O)#Batch_Writer|Batch Writer]]. }}
+
|{{#if: {{{empty|}}}|This device does not have any logic parameters and can not be selected with a [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]] or a [[Kit_(Logic_I/O)#Batch_Writer|Batch Writer]].| These are all parameters that can be written with a [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]], [[Kit_(Logic_I/O)#Batch_Writer|Batch Writer]], or [[Integrated Circuit (IC10)]]. }}
 +
}}
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
Line 20: Line 21:
 
{{Data Parameters/row|Power|Boolean|w=0|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|multiple=2|0|Off|1|On}}
 
{{Data Parameters/row|Power|Boolean|w=0|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|multiple=2|0|Off|1|On}}
 
{{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|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>|1|Error}}
+
{{Data Parameters/row|Error|Boolean|w=0|1 if device is in error state, otherwise 0|multiple=2|0|<p></p>|1|Error}}
 
{{Data Parameters/row|Lock|Boolean|Disable manual operation of the Sorter.|multiple=2|0|Unlocked|1|Locked}}
 
{{Data Parameters/row|Lock|Boolean|Disable manual operation of the Sorter.|multiple=2|0|Unlocked|1|Locked}}
 
{{Data Parameters/row|On|Integer|The current state of the Sorter.|multiple=2|0|On|1|Off}}
 
{{Data Parameters/row|On|Integer|The current state of the Sorter.|multiple=2|0|On|1|Off}}

Revision as of 07:11, 19 May 2024

Data Parameters

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

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

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.