From Starbounder - Starbound Wiki
Jump to: navigation, search
Latch Icon.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 as 'E' and the lower input as 'D' (which is the inverse of most D-Latch diagrams).

If both E and D are ON at the same time, the output will stay ON until E is ON but D is turned OFF.

SR Latch

The Persistent Switch is a SR-Latch. In case tungsten is unavailable, it is possible to construct a SR-Latch from 2 NOT Switches and 2 AND Switches, but this is not recommended as it takes the same area and is more computationally expensive than building one from a D-Latch.

S-R Latch.png

S is the top port, and R is the lower port.


A SR Latch constructed of two OR Switches, a Not Switch and one Latch. It's laid out the same as any other 3 port logic switch, where all the non-corner ports are for internal use only.

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

The lower OR Switch is only used as a convenience buffer, and may be substituted with a XOR Switch. To act as a buffer, its upper port is left unconnected. As OR Gates are Trivial both can be removed to save space, at the cost of the simplistic shape and dedicated external ports.

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.



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