Difference between revisions of "Data Parameters"
From Unofficial Stationeers Wiki
F1r3w4rr10r (talk | contribs) (Add the empty variant to the Data Parameters template) |
Emilgardis (talk | contribs) (try to collapse data parameters) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
=== Data Parameters === | === Data Parameters === | ||
{{#if: {{{1|}}} | {{#if: {{{1|}}} | ||
− | + | |{{#if:{{{skip_intro|}}}||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)]], and can be read with a [[Kit_(Logic_I/O)#Logic_Reader|Logic Reader]], [[Kit_(Logic_I/O)#Batch_Reader|Batch Reader]], or [[Integrated Circuit (IC10)]].}} | |
− | + | <div class="mw-customtoggle-datanetworkproperties-{{PAGENAMEE}}" style="width:auto; overflow:auto; text-indent:10px; border: 2px solid #253C60; border-radius:10px;"><b>Click here to see/hide all the <span style="color:#E57125;">data network properties</span></b></div> | |
+ | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-datanetworkproperties-{{PAGENAMEE}}"> | ||
+ | {{{!}} class="wikitable sortable large" | ||
+ | ! Parameter Name | ||
+ | ! Data Type | ||
+ | ! Access | ||
+ | ! class="unsortable" {{!}} Value | ||
+ | ! class="unsortable" colspan=2 {{!}} Description | ||
+ | {{!}}- | ||
+ | {{Ifnotempty|{{{1|}}}| | ||
+ | {{{1}}} | ||
}} | }} | ||
+ | {{!}}} | ||
+ | </div> | ||
+ | |{{#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)]]. }} | ||
+ | }} | ||
+ | {{#if: {{{empty|}}}||{{#if: {{{1|}}}| [[Category:Data Network]] }} }} | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> | <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> | ||
+ | {{Data Parameters| | ||
+ | {{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|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|On|Integer|The current state of the Sorter.|multiple=2|0|On|1|Off}} | ||
+ | {{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}} | ||
+ | {{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}} | ||
+ | {{Data Parameters/row|Output|Integer|In Logic mode, decides which side the next item will be sent to. (defaults to -1 after action)|multiple=3|-1|Unset|0|Straight|1|Side}} | ||
+ | {{Data Parameters/row|PrefabHash|Integer|w=0|The hash of the structure}} | ||
+ | {{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.}} | ||
+ | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 05:46, 17 July 2024
Data Parameters[edit]
These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).
Data Parameters template[edit]
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[edit]
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
|