Actions

Difference between revisions of "Flashing Light"

From Unofficial Stationeers Wiki

(Add logic properties)
m (Change Logic to Data Network)
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
<translate>
 
<translate>
[[Category:Lights]]
+
[[Category:Lights]][[Category:Data Network]]
 
{{Itembox
 
{{Itembox
 
  | name  = Flashing Light
 
  | name  = Flashing Light
Line 15: Line 15:
 
The '''Flashing Light''' is a light that rotates, when turned on and powered. It's default color is yellow.
 
The '''Flashing Light''' is a light that rotates, when turned on and powered. It's default color is yellow.
  
== Logic Properties ==
+
== Data Network Properties ==
These are all logic properties of this device.
+
These are all [[:Category:Data Network|Data Network]] properties of this device.
  
=== Logic Parameters ===
+
=== Data 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.
 
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"
 
{| class="wikitable"
Line 29: Line 29:
 
|}
 
|}
  
=== Logic Outputs ===
+
=== Data 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.
 
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"
 
{| class="wikitable"

Revision as of 08:23, 8 April 2018

Flashing Light
Stacks 5
Flashing Light
Construction
Placed with {{{placed_with_item}}}
Placed on {{{placed_on_grid}}}

Description

The Flashing Light is a light that rotates, when turned on and powered. It's default color is yellow.

Data Network Properties

These are all Data Network properties of this device.

Data 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
Lock Boolean Locks the Flashing Light, when set to 1. Unlocks it, when set to 0.
On Boolean Turns the Flashing Light on, when set to 1. Unlocks it, when set to 0.

Data 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 Flashing Light is receiving power and is turned on. (0 for no, 1 for yes)
Lock Boolean Returns whether the Flashing Light is locked. (0 for no, 1 for yes)
On Boolean Returns whether the Flashing Light is turned on. (0 for no, 1 for yes)
RequiredPower Integer Returns the currently required power of the Flashing Light, in Watts.