Actions

Editing Autolathe/Data Network

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:
<noinclude>
+
{{Data Parameters}}
These are all of the [[Autolathe]] parameter in the game.
+
{| class="wikitable"
</noinclude>
 
<div style="width:auto; overflow:auto;">
 
=== Input Data (Write) ===
 
These are all parameters, that can be written to with different means of using logic.
 
 
 
{| class="wikitable sortable" style="width:100%;"
 
! Parameter Name
 
! class="unsortable" | Data Type
 
! class="unsortable" | ValueAutolathe
 
! class="unsortable" | Description
 
|-
 
 
 
! rowspan="2" | On
 
| rowspan="2" | Boolean
 
| style="text-align:center;" | 0
 
| Turns the device off. Also toogles the switch accordingly.
 
|-
 
| style="text-align:center;" | 1
 
| Turns the device on. Also toogles the switch accordingly.
 
|-
 
 
 
! rowspan="2" | Open
 
| rowspan="2" | Boolean
 
| style="text-align:center;" | 0
 
| Stops purging of stored materials in the structure. Also resets the lever accordingly.
 
|-
 
| style="text-align:center;" | 1
 
| Starts purging of stored materials in the structure. Also pulls the lever accordingly. Without powering the structure it won't purge anything.
 
|-
 
 
 
! rowspan="2" | Activate
 
| rowspan="2" | Boolean
 
| style="text-align:center;" | 0
 
| Writing a 0 to the device stops the construction of the chosen item.
 
 
|-
 
|-
| style="text-align:center;" | 1
+
! Parameter Name !! Data Type !! Description
| Writing a 1 to the device starts the construction of the chosen item. If there are not enough materials inside the structure it will starts to fabricate the item anyway but won't fabricate the item and won't consume any stored ressources.
 
 
|-
 
|-
 
+
| Open || Boolean || Opens the Autolathe, when set to 1. Closes the Autolathe, when set to 0.
! rowspan="2" | Lock
 
| rowspan="2" | Boolean
 
| style="text-align:center;" | 0
 
| Allows manual interaction with the structure.
 
 
|-
 
|-
| style="text-align:center;" | 1
+
| Activate || Boolean || Activates the Autolathe, when set to 1 '''Note''': This can cause a minor bug to occur. (See [[#Bugs|Bugs]]). '''Does not''' deactivates the Autolathe, when set to 0, you have to set On to 0 instead.
| Completely blocks any manual interaction with the structure. This doesn't inculdes interaction by logic.
 
 
|-
 
|-
 
+
| On || Boolean || Turns the Autolathe on, when set to 1. Turns it off, when set to 0.  
! rowspan="2" | ClearMemory
 
| rowspan="2" | Boolean
 
| style="text-align:center;" | 0
 
| Writing a 0 to a structure doesn't have any impact.
 
 
|-
 
|-
| style="text-align:center;" | 1
+
| ClearMemory || Boolean trigger || Writing on this Parameter will reset the ExportCount and ImportCount values to zero.
| Clears the counter memory. Will set itself back to 0 when actioned
 
 
|-
 
|-
 
+
| [[RecipeHash]] || Integer || Set machine to recipe <small>Number is calculated using hash on prefabname</small>
! RecipeHash
 
| Integer
 
|  
 
| Sets the machine to the recipe corresponding to the written hash number.
 
 
|-
 
|-
 
+
| Lock || Boolean || Does nothing.
! colspan="4" | <i>Update 0.2.4677.21598 - Fri 29/12/2023</i> <span class="right">[[Autolathe/Data Network|/Data_Network]]</span>
 
 
|}
 
|}
  
=== Output Data (Read) ===
+
{{Data Outputs}}
These are all parameters, that can be read by using different means of logic.
+
{| class="wikitable"
{| class="wikitable sortable" style="width:100%;"
 
! Parameter Name
 
! class="unsortable" | Data Type
 
! class="unsortable" | Value
 
! class="unsortable" | Description
 
|-
 
 
 
! rowspan="2" | On
 
| rowspan="2" | Boolean
 
| style="text-align:center;" | 0
 
| The <b>Autolathe</b> is not powered. This is the same as the physical red powerswitch located on the structure.
 
|-
 
| style="text-align:center;" | 1
 
| The <b>Autolathe</b> is powered. This is the same as the physical red powerswitch located on the structure.
 
|-
 
 
 
! rowspan="2" | Open
 
| rowspan="2" | Boolean
 
| style="text-align:center;" | 0
 
| Output of the <b>Autolathe</b> is closed. This is the same as the physical lever located on the structure.
 
|-
 
| style="text-align:center;" | 1
 
| Output of the <b>Autolathe</b> is opened. This is the same as the physical lever located on the structure.
 
 
|-
 
|-
 
+
! Output Name !! Data Type !! Description
! rowspan="2" | Activate
 
| rowspan="2" | Boolean
 
| style="text-align:center;" | 0
 
| The structure is currently producing nothing.
 
 
|-
 
|-
| style="text-align:center;" | 1
+
| Power || Boolean || Returns whether the Autolathe is turned on and receives power. (0 for no, 1 for yes)
| The structure is currently producing something.
 
 
|-
 
|-
 
+
| Open || Boolean || Returns whether the Autolathe is open. (0 for no, 1 for yes)
! rowspan="2" | Lock
 
| rowspan="2" | Boolean
 
| style="text-align:center;" | 0
 
| 1 if device is locked, otherwise 0, can be set in most devices and prevents the user from access the values.
 
|-
 
| style="text-align:center;" | 1
 
| 1 if device is locked, otherwise 0, can be set in most devices and prevents the user from access the values.
 
|-
 
 
 
! rowspan="2" | Power
 
| rowspan="2" | Boolean
 
| style="text-align:center;" | 0
 
| Can be read to return if the device is correctly powered or not, set via the power system, return 1 if powered and O if not.
 
|-
 
| style="text-align:center;" | 1
 
| Can be read to return if the device is correctly powered or not, set via the power system, return 1 if powered and O if not.
 
|-
 
 
 
! rowspan="2" | Error
 
| rowspan="2" | Boolean
 
| style="text-align:center;" | 0
 
| 1 if device is in error state, otherwise 0.
 
 
|-
 
|-
| style="text-align:center;" | 1
+
| Error || Boolean || Returns whether the Autolathe is flashing an error. (0 for no, 1 for yes)
| 1 if device is in error state, otherwise 0.
 
 
|-
 
|-
 
+
| Activate || Boolean || Returns whether the Autolathe is active. (0 for no, 1 for yes)
! RecipeHash
 
| Integer
 
|  
 
| Current hash of the recipe the device is set to produce
 
 
|-
 
|-
 
+
| Reagents || Integer || Returns the total amount of all contents, in the Autolathe, in grams.
! Reagents
 
| Integer
 
|  
 
| Total number of reagents inside the device (e.g. 92g of iron = 92)
 
 
|-
 
|-
 
+
| On || Boolean || Returns whether the Autolathe is on. (0 for no, 1 for yes)
! RequiredPower
 
| Integer
 
|  
 
| Idle operating power quantity. That does not include extra demand power for recipes.
 
 
|-
 
|-
 
+
| ImportQuantity || (Unknown) || (Unknown)
! CompletionRatio
 
| Integer
 
|  
 
| How complete the current production is for this device, bewteen 0 and 1
 
 
|-
 
|-
 
+
| ImportSlotOccupant || Boolean || Returns whether there is something in the Autolathe import slot. (0 for no, 1 for yes) This outputs 1 only briefly, every time something is inserted in the Autolathe.
! ExportCount
 
| Integer
 
|  
 
| How many items exported since last ClearMemory. This count is based on every ouput stack of items (e.g. 1 item and 12g of iron =2)
 
 
|-
 
|-
 
+
| ExportQuantity || Integer || Returns how many items are in the export slot. This will usually only briefly turn 1, shortly before dropping something out of the export slot.
! ImportCount
 
| Integer
 
|  
 
| How many items imported since last ClearMemory. The count is based on stacks (e.g. 92g of iron in on stack = 1)
 
 
|-
 
|-
 
+
| ExportSlotOccupant || Boolean || Returns whether there is something in the Autolathe export slot. (0 for no, 1 for yes) This will usually only briefly turn 1, shortly before dropping something out of the export slot.
! PrefabHash
 
| Integer
 
|  
 
| The hash of the structure
 
 
|-
 
|-
 
+
| RequiredPower || Integer || Returns the current amount of power, required by the Autolathe, in Watts. '''Note''': This will not update when active (See [[#Bugs|Bugs]]).
! Referenceld
 
| Integer
 
|  
 
| Unique Reference Identifier for this object
 
 
|-
 
|-
 
+
| [[RecipeHash]] || Integer || Reads recipehash of selected recipe <small>Number is calculated using hash on prefabname</small>
! colspan="4" | <i>Update 0.2.4677.21598 - Fri 29/12/2023</i> <span class="right">[[Autolathe/Data Network|/Data_Network]]</span>
 
 
|}
 
|}
</div>
 

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)