Difference between revisions of "Autolathe/Data Network"
From Unofficial Stationeers Wiki
(Initial creaion of page) |
(migrated data into subpage) |
||
| Line 1: | Line 1: | ||
| − | + | {{Data Parameters}} | |
| + | {| class="wikitable" | ||
| + | |- | ||
| + | ! Parameter Name !! Data Type !! Description | ||
| + | |- | ||
| + | | Open || Boolean || Opens the Autolathe, when set to 1. Closes the Autolathe, when set to 0. | ||
| + | |- | ||
| + | | 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. | ||
| + | |- | ||
| + | | On || Boolean || Turns the Autolathe on, when set to 1. Turns it off, when set to 0. | ||
| + | |- | ||
| + | | ClearMemory || Boolean trigger || Writing on this Parameter will reset the ExportCount and ImportCount values to zero. | ||
| + | |- | ||
| + | | [[RecipeHash]] || Integer || Set machine to recipe <small>Number is calculated using hash on prefabname</small> | ||
| + | |- | ||
| + | | Lock || Boolean || Does nothing. | ||
| + | |} | ||
| + | |||
| + | {{Data Outputs}} | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | ! Output Name !! Data Type !! Description | ||
| + | |- | ||
| + | | Power || Boolean || Returns whether the Autolathe is turned on and receives power. (0 for no, 1 for yes) | ||
| + | |- | ||
| + | | Open || Boolean || Returns whether the Autolathe is open. (0 for no, 1 for yes) | ||
| + | |- | ||
| + | | Error || Boolean || Returns whether the Autolathe is flashing an error. (0 for no, 1 for yes) | ||
| + | |- | ||
| + | | Activate || Boolean || Returns whether the Autolathe is active. (0 for no, 1 for yes) | ||
| + | |- | ||
| + | | Reagents || Integer || Returns the total amount of all contents, in the Autolathe, in grams. | ||
| + | |- | ||
| + | | On || Boolean || Returns whether the Autolathe is on. (0 for no, 1 for yes) | ||
| + | |- | ||
| + | | ImportQuantity || (Unknown) || (Unknown) | ||
| + | |- | ||
| + | | 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. | ||
| + | |- | ||
| + | | 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. | ||
| + | |- | ||
| + | | 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. | ||
| + | |- | ||
| + | | RequiredPower || Integer || Returns the current amount of power, required by the Autolathe, in Watts. '''Note''': This will not update when active (See [[#Bugs|Bugs]]). | ||
| + | |- | ||
| + | | [[RecipeHash]] || Integer || Reads recipehash of selected recipe <small>Number is calculated using hash on prefabname</small> | ||
| + | |} | ||
Revision as of 05:54, 30 December 2023
Data Parameters
These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).
| Parameter Name | Data Type | Description |
|---|---|---|
| Open | Boolean | Opens the Autolathe, when set to 1. Closes the Autolathe, when set to 0. |
| Activate | Boolean | Activates the Autolathe, when set to 1 Note: This can cause a minor bug to occur. (See Bugs). Does not deactivates the Autolathe, when set to 0, you have to set On to 0 instead. |
| On | Boolean | Turns the Autolathe on, when set to 1. Turns it off, when set to 0. |
| ClearMemory | Boolean trigger | Writing on this Parameter will reset the ExportCount and ImportCount values to zero. |
| RecipeHash | Integer | Set machine to recipe Number is calculated using hash on prefabname |
| Lock | Boolean | Does nothing. |
Data Outputs
These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
| Output Name | Data Type | Description |
|---|---|---|
| Power | Boolean | Returns whether the Autolathe is turned on and receives power. (0 for no, 1 for yes) |
| Open | Boolean | Returns whether the Autolathe is open. (0 for no, 1 for yes) |
| Error | Boolean | Returns whether the Autolathe is flashing an error. (0 for no, 1 for yes) |
| Activate | Boolean | Returns whether the Autolathe is active. (0 for no, 1 for yes) |
| Reagents | Integer | Returns the total amount of all contents, in the Autolathe, in grams. |
| On | Boolean | Returns whether the Autolathe is on. (0 for no, 1 for yes) |
| ImportQuantity | (Unknown) | (Unknown) |
| 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. |
| 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. |
| 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. |
| RequiredPower | Integer | Returns the current amount of power, required by the Autolathe, in Watts. Note: This will not update when active (See Bugs). |
| RecipeHash | Integer | Reads recipehash of selected recipe Number is calculated using hash on prefabname |
