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

Devices

Batch Reader

Batch Lesegerät

PrefabStructureLogicBatchReader Hash264413729in the hash lookup
Power paintable Game 0.2.6428.27798

Overview

Batch Reader (StructureLogicBatchReader) in Stationeers: device, hash 264413729, 10 W. With build steps, 8 IC10 logic values and connection diagram.

The batch reader works like the Logic Reader, but instead of a single device it reads all devices of one type on the data network at its input. The result is one number in its Setting, which is read only. That way you query, for example, every battery of a base at once.

How to set it up: With the Screwdriver you click three setting points; every click moves one step forward, with the C key held one step back:

  • Device type: one of the types present on the input network that have readable values,
  • Value: the logic type all devices of that type should deliver,
  • Method: Average, Sum, Minimum, Maximum or Count – exactly batch modes 0 to 4 from IC10. A new reader starts on Average.

For readings the average is the safe choice. With the sum, a mistake only shows once a second device is added – two sensors at 400 K each then read 800 K. Count only counts the devices of the type; the value plays no part.

It has a data input, a data output and a power port and, according to the game data, draws 10 W. Unlike the simple reader it only works with its output connected: with no cable on the output, Error is 1. The same happens when no device of the chosen type is left on the input network. Setting then keeps its last value.

The batch reader does not care about names. It catches every device of the type on the whole input network, including the room next door. If you only need the devices of one room, give them a shared name and read them in a chip with lbn. How that works is explained in IC10: control a device by name. It is built from the Kit (Logic I/O).

IC10 and logic

8 logic values, 8 readable and 1 writable.

  • Power R 1
  • Error R 4
  • Setting R 12
  • 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.

# Batch Reader address by name
define DEVICE 264413729  # StructureLogicBatchReader
define NAME HASH("Batch Reader")  # 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

1Data2Data3
Schematic: inputs left, outputs right, waste on top, power and data at the bottom. Position and spacing do not match the model.
  1. 1Data · input
  2. 2Data · output
  3. 3Power

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 I/O)

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