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

Devices

Logic Memory

Logik Speicher

PrefabStructureLogicMemory Hash-851746783in the hash lookup
Power paintable Game 0.2.6428.27798

Overview

Logic Memory (StructureLogicMemory) in Stationeers: device, hash -851746783. With build steps, 4 IC10 logic values and connection diagram.

The logic memory is the simplest logic part: a place for one number. It sits in Setting, which is readable and writable. Apart from name and hash it has no other logic values.

It needs no power and has two data ports. It is built from the Kit (Logic Memory), which also builds the hash generator.

By hand you set the number with the Screwdriver at four setting points: plus or minus 100 and plus or minus 1, with the C key held plus or minus 10 and 0.1. The Labeller is quicker; it opens an input field. Values changed with the screwdriver are rounded to one decimal place.

Two uses are typical:

  • A fixed value for a logic chain. A Logic Compare needs two inputs. One comes from the sensor, the other from the memory holding the limit, for example 95 for 95 kPa.
  • A mailbox between two chips. One chip writes a value into the memory with sbn, another reads it with lbn. That way two programs exchange states without knowing each other.

Give every memory its own name. If two programs read the same name with batch mode 0, they get the average of all memories with that name – rarely what you want.

How memory, compare and writer form a controller together is shown in Logic without a chip: reader, writer, memory, compare, math.

IC10 and logic

4 logic values, 4 readable and 1 writable.

  • Setting RW 12
  • PrefabHash R 84
  • ReferenceId R 217
  • NameHash R 268

Example: address by name

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

# Logic Memory address by name
define DEVICE -851746783  # StructureLogicMemory
define NAME HASH("Logic Memory")  # name in game (labeller)
define TARGET 1  # Setting target value (Setting)
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 Setting TARGET  # set value
j start

Connections

12
Schematic: inputs left, outputs right, waste on top, power and data at the bottom. Position and spacing do not match the model.
  1. 1Data
  2. 2Data

Building and deconstruction

Grid: small grid (0.5 m) · mounting: on wall or floor

  1. 1

    Place

    Take back with Hand Drill

Total material

Deconstruction returns

Built with: Kit (Logic Memory)

Material, fire and recycling

Flammable according to game data: flash point 373.2 K (100 °C); Autoignition 573.2 K (300 °C); burn time 5 s

Raw values from the game code (3)

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

LogicUnitBase.ConnectionTypeFlatExhaustive
LogicUnitBase.Input1Index0
LogicUnitBase.OutputIndex1

See also

Esc
↑ ↓ selectEnter open/ opens search anywhere