Difference between revisions of "Data Parameters"
From Unofficial Stationeers Wiki
Emilgardis (talk | contribs) (rework data parameters) |
Emilgardis (talk | contribs) (fix empty value in example) |
||
Line 20: | Line 20: | ||
{{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 06:07, 19 May 2024
Data Parameters
This device does not have any logic parameters and can not be selected with a Logic Writer or a Batch Writer.
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.
The above documentation is transcluded from Template:Data Parameters/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
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).
Click here to see/hide all the data network properties
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
|
||||
ClearMemory | Integer | Write
|
||||
ExportCount | Integer | Read
|
||||
ImportCount | Integer | Read
|
||||
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
|
||||
ReferenceId | Integer | Read
|
||||
NameHash | Integer | Read
|