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.
-
PowerR 1 -
ErrorR 4 -
LockRW 10 -
SettingRW 12 -
MaximumR 23 -
RatioR 24 -
OnRW 28 -
RequiredPowerR 33 -
PrefabHashR 84 -
ReferenceIdR 217 -
NameHashR 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 startAcademy: devices by name Academy: batch modes IC10 academy IC10 editor
Connections
- 1Gas pipe
- 2Gas pipe
- 3Power and data
Building and deconstruction
Grid: small grid (0.5 m) · mounting: free in the grid
- 1
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.outputSetting | 50 |
DeviceAtmospherics.pressurePerTick | 101.3 |
DeviceAtmospherics.MinSetting | 0 |
DeviceAtmospherics.MaxSetting | 100 |
DeviceAtmospherics.ConnectionType | Exhaustive |
See also
- Pumps, valves and pressure regulators: which part for whatPump, regulator, valve or vent – what each part does between two networks, how much it manages per tick, typical layouts and an IC10 program with protection on both sides.