Actions

Difference between revisions of "Autolathe"

From Unofficial Stationeers Wiki

(Add logic parameter and output documentation)
Line 121: Line 121:
 
| {{Icon|wall light|1}}
 
| {{Icon|wall light|1}}
 
|}
 
|}
 +
 +
== Logic Properties ==
 +
These are all logic properties of this device.
 +
 +
=== Logic Parameters ===
 +
These are all parameters, that can be written to with a [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]] or a [[Kit_(Logic_I/O)#Batch_Writer|Batch Writer]]. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.
 +
{| 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. Deactivates the Autolathe, when set to 0. '''Note''': This can cause a minor bug to occur. (See [[#Bugs]])
 +
|-
 +
| On || Boolean || Turns the Autolathe on, when set to 1. Turns it off, when set to 0.
 +
|}
 +
 +
=== Logic Outputs ===
 +
These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Logic_Reader|Logic Reader]]. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|-
 +
| Power || Boolean || Returns whether the Autolathe is turned on. (0 is off, 1 is on) (Identical to "On" output. This might be intended to output whether the device is receiving power or not.)
 +
|-
 +
| Open || Boolean || Returns whether the Autolathe is open. (0 is closed, 1 is open)
 +
|-
 +
| Error || Boolean || Returns whether the Autolathe is flashing an error. (0 when no error, 1 when flashing an error)
 +
|-
 +
| Activate || Boolean || Returns whether the Autolathe is currently active. (0 is not active, 1 is active)
 +
|-
 +
| Reagents || Integer || Returns the total amount of all contents in the Autolathe in grams.
 +
|-
 +
| On || Boolean || Returns whether the Autolathe is on. (0 is off, 1 is on)
 +
|-
 +
| ImportQuantity || (Unknown) || (Unknown)
 +
|-
 +
| ImportSlotOccupant || Boolean || Returns whether there is something in the Autolathe input slot. (0 if empty, 1 if there is something) (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. This will usually only briefly turn 1, shortly before dropping something out of the export slot.
 +
|-
 +
| RequiredPower || Integer || Returns the amount of power required by the Autolathe in Watts. '''Note''': This will not update when active (See [[#Bugs]]).
 +
|}
 +
 +
== Bugs ==
 +
* Setting the "Activate" parameter to 1, can cause the Autolathe to activate, even when it is empty. Nothing is dropped from the output, once the production is finished in this case and the Autolathe will stop after one production run.
 +
* The "RequiredPower" output only ever outputs 5, when the Autolathe is turned on, 0 otherwise. It does not take into account the raised power required when active.
 
</translate>
 
</translate>

Revision as of 10:12, 24 March 2018

Other languages:
English • ‎español • ‎русский
Kit (Autolathe)
ItemKitAutolathe.png
Recipe
Created With Autolathe, Fabricator
Cost 10g Copper, 2g Gold
Autolathe
Autolathe.jpg
Construction
Placed with {{{placed_with_item}}}
Placed on {{{placed_on_grid}}}


Description

Used to craft a variety of items. Takes ingots in the left and spits product out of the right. Power button toggles machine power state. Lever will eject materials inside if machine is powered. Arrow buttons select recipe, push the square button in between to craft.

Warning: Machine will continue to craft until button is pushed again, machine is turned off or loses power.

Recipes

Used to create:

Item Input Output
Cable Coil

Placeholder icon.png

0.5


ItemCableCoil.png

1


Construction Kit (Chutes)

Placeholder icon.png

3


ItemKitChute.png

1


Construction Kit (Pipe)

Placeholder icon.png

0.5


ItemPipeStraight.png

1


Construction Kit (Walls)

Placeholder icon.png

4


Placeholder icon.png

1


Placeholder icon.png

1


Floor Grating

Placeholder icon.png

2


ItemCompositeFloorGrating.png

1


Glass Sheets

Placeholder icon.png

2


ItemGlassSheets.png

1


Iron Frames

Placeholder icon.png

4


ItemIronFrames.png

1


Iron Sheets

Placeholder icon.png

1


ItemSteelSheets.png

1


Kit (Arc Furnace)

Placeholder icon.png

20


Placeholder icon.png

5


StructureArcFurnace.png

1


Kit (Autolathe)

Placeholder icon.png

10


Placeholder icon.png

2


ItemKitAutolathe.png

1


Kit (Door)

Placeholder icon.png

7


Placeholder icon.png

3


Placeholder icon.png

1


Kit (Electronics Printer)

Placeholder icon.png

20


Placeholder icon.png

20


Placeholder icon.png

5


ItemKitElectronicsPrinter.png

1


Kit (Furnace)

Placeholder icon.png

30


Placeholder icon.png

10


Furnace.jpg

1


Kit (Hydraulic Pipe Bender)

Placeholder icon.png

20


Placeholder icon.png

10


Placeholder icon.png

2


ItemKitHydraulicPipeBender.png

1


Kit (Iron Wall)

Placeholder icon.png

4


ItemKitWallIron.png

1


Kit (Locker)

Placeholder icon.png

10


ItemKitLocker.png

1


Kit (Sign)

ItemKitSign.png

1


Kit (Stacker)

ItemKitStacker.png

1


Kit (Stairs)

Placeholder icon.png

15


ItemKitStairs.png

1


Kit (Tool Manufactory)

Placeholder icon.png

20


Placeholder icon.png

10


ItemKitToolManufactory.png

1


Steel Frames

Placeholder icon.png

1


ItemSteelFrames.png

1


Steel Sheets

Placeholder icon.png

1


ItemSteelSheets.png

1


Lights

Placeholder icon.png

1


Placeholder icon.png

2


Placeholder icon.png

1


ItemWallLight.png

1


Logic Properties

These are all logic properties of this device.

Logic Parameters

These are all parameters, that can be written to with a Logic Writer or a Batch Writer. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.

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. Deactivates the Autolathe, when set to 0. Note: This can cause a minor bug to occur. (See #Bugs)
On Boolean Turns the Autolathe on, when set to 1. Turns it off, when set to 0.

Logic Outputs

These are all parameters, that can be read with a Logic 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. (0 is off, 1 is on) (Identical to "On" output. This might be intended to output whether the device is receiving power or not.)
Open Boolean Returns whether the Autolathe is open. (0 is closed, 1 is open)
Error Boolean Returns whether the Autolathe is flashing an error. (0 when no error, 1 when flashing an error)
Activate Boolean Returns whether the Autolathe is currently active. (0 is not active, 1 is active)
Reagents Integer Returns the total amount of all contents in the Autolathe in grams.
On Boolean Returns whether the Autolathe is on. (0 is off, 1 is on)
ImportQuantity (Unknown) (Unknown)
ImportSlotOccupant Boolean Returns whether there is something in the Autolathe input slot. (0 if empty, 1 if there is something) (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. This will usually only briefly turn 1, shortly before dropping something out of the export slot.
RequiredPower Integer Returns the amount of power required by the Autolathe in Watts. Note: This will not update when active (See #Bugs).

Bugs

  • Setting the "Activate" parameter to 1, can cause the Autolathe to activate, even when it is empty. Nothing is dropped from the output, once the production is finished in this case and the Autolathe will stop after one production run.
  • The "RequiredPower" output only ever outputs 5, when the Autolathe is turned on, 0 otherwise. It does not take into account the raised power required when active.