BUSLOOM MANUAL

Modbus mental model

Address spaces, function codes, Unit IDs, and frames.

02 · FOUNDATIONS

Modbus mental model

Modbus exposes four independent address spaces. The number 10 in Holding registers and the number 10 in Input registers are different objects. Every read therefore needs both an address space and a zero-based PDU address.

Address spaceNative shapeFunction codesTypical use
Coils1-bit, read/writeFC01 read · FC05/FC15 writeOften outputs, enables, commands
Discrete inputs1-bit, read-onlyFC02Status contacts and digital inputs
Holding registers16-bit, read/writeFC03 read · FC06/FC16 writeSetpoints, configuration, measurements
Input registers16-bit, read-onlyFC04Measurements and device telemetry

One exchange, three identities

Unit ID
Identifies the Modbus server/slave behind the connection. On RTU it selects a bus participant; on TCP it is still relevant for gateways.
PDU address
The zero-based address sent in the Modbus request. This is the canonical identity Busloom stores for a tag.
Transaction
One logical request and response. Raw Traffic shows its TX and RX frames together in chronological order.

What Busloom validates

Busloom does not accept a response merely because bytes arrived. It validates the RTU or TCP envelope, Unit ID, function, declared lengths, requested quantity, byte count, and response shape. A valid Modbus exception is preserved as a completed protocol exchange; malformed transport or PDU data is reported separately.

Read and write shapes

FC01–04 identify the address space and read a starting PDU address plus a quantity. FC05 and FC06 write one coil or holding register. FC15 and FC16 write an ordered block of coils or holding registers. Busloom may split a large view into several legal requests; the view remains one acquisition source while Raw Traffic exposes every actual frame.