Latch

From Starbounder - Starbound Wiki
Jump to: navigation, search
Latch Icon.png
Latch
Wire
Latch.png

A Latch. Can be used to store a wire state.

Latch is a wiring component that can be crafted using the Wiring Station. It is a logical D-Latch, with the upper input (E) controlling whether or not the state of the lower input (D) is currently being stored in the output.

If both control (E) and stored inputs (D) are ON, the output will stay ON until control input (E) is ON and the stored input (D) is OFF.

SR Latch

The Persistent Switch is a SR-Latch. In case tungsten is unavailable, it is possible to use D-latch as an SR-Latch by linking the ON input to both the control input (E) and the stored input (D), and the OFF input to just the control input (E).

S-R Latch.png

Upper input (S) sets the latch to ON and lower input (R) sets the latch to OFF.

S-R Latch - ON.png ON value being stored

S-R Latch - OFF.png OFF value being stored

Construction

S-R Latch - Assembly.png S-R Latch - Internal Wiring.png


Since OR Gates are Trivial both can be removed and the inputs can be linked directly, at the cost of the simplistic shape and dedicated external ports.

S-R Latch - Input Bypass.png

T-Flip Flop: If you would like to make a button toggle something on and off, you can use this configuration. When a pulsing input is given to the Latch and Persistent Switch, it will toggle the persistent switch on and off like a lever, but you are using a button to do so. Starbound T-Flip Flop.PNG

Racial Descriptions


Floran Icon.png Floran : A Latch. Can be used to sstore a wire sstate.
Glitch Icon.png Glitch : Fascinated. A Latch. Can be used to store a wire state.

History

Data

File Details

Spawn Command /spawnitem dlatch
File Name dlatch.object
File Path assets\objects\wired\logic
Wiring Station
AlarmAND SwitchBig Red ButtonBulbCountdown TimerDelay GateDefense TurretDrainLatchLight Sensor
Liquid SensorNOT SwitchOR SwitchPersistent SwitchProximity ScannerPressure PlateSmall Floor ButtonSmall Wall ButtonSmall Wall SwitchTimer (0.5 Sec)
Tiny Wall ButtonTiny Wall SwitchWire ModeXOR Switch