Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Autolathe: Difference between revisions

From Stationeers Wiki
Nstemp (talk | contribs)
No edit summary
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 16:12, 24 March 2018

<languages /> <translate>

Kit (Autolathe)
Recipe
Created With Autolathe, Fabricator
Cost 10g Copper, 2g Gold
Autolathe
Operation
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

0.5


1


Construction Kit (Chutes)

3


1


Construction Kit (Pipe)

0.5


1


Construction Kit (Walls)

4


1


1


Floor Grating

2


1


Glass Sheets

2


1


Iron Frames

4


1


Iron Sheets

1


1


Kit (Arc Furnace)

20


5


1


Kit (Autolathe)

10


2


1


Kit (Door)

7


3


1


Kit (Electronics Printer)

20


20


5


1


Kit (Furnace)

30


10


1


Kit (Hydraulic Pipe Bender)

20


10


2


1


Kit (Iron Wall)

4


1


Kit (Locker)

10


1


Kit (Sign)

1


Kit (Stacker)

1


Kit (Stairs)

15


1


Kit (Tool Manufactory)

20


10


1


Steel Frames

1


1


Steel Sheets

1


1


Lights

1


2


1


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.

</translate>