stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. Stationeers wiki
  3. Devices
  4. Digital Valve

Devices

Digital Valve

Digitales Ventil

PrefabStructureDigitalValve Hash-1280984102in the hash lookup
Pipes and atmosphere paintable Game 0.2.6428.27798

Overview

Digital Valve (StructureDigitalValve) in Stationeers: device, hash -1280984102, 5 W. With build steps, 11 IC10 logic values and connection diagram.

The digital valve connects two gas networks and can be opened and closed by logic. When it is on (On = 1), the game mixes the contents of both sides every tick – gas flows from the higher to the lower pressure until both are equal. When it is off, the networks are separate.

It has no direction: both pipe ports are equal. And it is not a pump: it pushes nothing against pressure. If you need that, use a Volume Pump, and for a fixed target pressure the Pressure Regulator.

A calculation: network A has 1,000 litres at 500 kPa, network B 1,000 litres at 100 kPa, both at the same temperature. After opening, both sit at (500 + 100) / 2 = 300 kPa. With networks of different size, weight by volume.

Typical uses:

  • emergency shut-off of a line, for example during a fire or a leak,
  • filling an airlock from a supply network,
  • joining two stores when needed.

Power and data share one port; it draws 5 W. For liquids there is the Liquid Digital Valve, for manual use without power the Valve (Gas). More help choosing parts in Pumps, valves and pressure regulators: which part for what.

IC10 and logic

11 logic values, 11 readable and 3 writable.

  • Power R 1
  • Error R 4
  • Lock RW 10
  • Setting RW 12
  • Maximum R 23
  • Ratio R 24
  • On RW 28
  • RequiredPower R 33
  • PrefabHash R 84
  • ReferenceId R 217
  • NameHash R 268

Example: address by name

Reads Setting, shows the value on the IC housing and writes On. Name the device with the labeller first; devices with the same name are addressed together.

# Digital Valve address by name
define DEVICE -1280984102  # StructureDigitalValve
define NAME HASH("Digital Valve")  # name in game (labeller)
define TARGET 1  # On 1 = on
alias value r0

start:
yield
lbn value DEVICE NAME Setting 0  # 0 = average of all with this name
bnan value start  # no device with this name
s db Setting value  # show on the housing
sbn DEVICE NAME On TARGET  # set value
j start

Connections

123
Schematic: inputs left, outputs right, waste on top, power and data at the bottom. Position and spacing do not match the model.
  1. 1Gas pipe
  2. 2Gas pipe
  3. 3Power and data

Building and deconstruction

Grid: small grid (0.5 m) · mounting: free in the grid

  1. 1

    Place

    Take back with Hand Drill

Total material

Deconstruction returns

Built with: Kit (Digital Valve)

Raw values from the game code (5)

Field names as in the game code, untranslated. Useful for mods and exact limits.

DeviceAtmospherics.outputSetting50
DeviceAtmospherics.pressurePerTick101.3
DeviceAtmospherics.MinSetting0
DeviceAtmospherics.MaxSetting100
DeviceAtmospherics.ConnectionTypeExhaustive

See also

Esc
↑ ↓ selectEnter open/ opens search anywhere