PLC Simulator
Modbus function reference

Modbus Function Code 01 — Read Coils

Read packed boolean output states

01
Load in Modbus sandbox

Data model

Coils (0xxxx reference family)

Access

Read packed boolean output states

Protocol quantity

1–2000 coils

Worked example

Read the PDU field by field.

Read 37 coil states beginning at protocol address 19. The response packs bits least-significant-bit first within each data byte.

Typical use: Polling commanded or writable boolean states such as run commands, solenoids and mode flags.

Example protocol data units

Request PDU

01 00 13 00 25

Normal response PDU

01 05 CD 6B 05 4E 01

PDU examples omit the Modbus TCP MBAP header and the Modbus RTU unit-address/CRC envelope. Multi-byte values are shown in network byte order.

Common implementation mistakes

  • Using a 00001 display reference as the transmitted address
  • Reading a coil when the required state is exposed as a discrete input
  • Decoding packed response bits in the wrong bit order

Run the reference

Turn a protocol table into evidence.

Compose the request publicly, then use Pro for advanced graded exceptions, saved fixtures, complete history and project sharing.

Open sandbox

Technical reference and worked-example guide

Modbus function 01 coil-reading guide: field reference

Direct answer

The reader can construct a valid request, interpret packed response bits, handle address notation and prove that a returned Boolean has the intended application meaning.

Written for pLC, HMI and integration learners reading discrete coil state and distinguishing protocol bits from physical outputs and feedback.

a controls bench tracing generic PLC, remote I/O, serial and Ethernet paths into protocol diagnostics and mapped application data while studying Modbus function code 01 coil addressing and bit interpretation
System map / 02

NODE 01observable

Definition

Client, server, transport, unit identity, starting coil address, quantity, zero- or one-based notation, packed-bit order, freshness, quality and physical meaning.

NODE 02observable

Signal path

Application request through transport and server map to packed response bits, Boolean tags, consuming logic and independent equipment feedback.

NODE 03observable

Worked example

One known off and on condition read repeatedly with correct address, bit position and application interpretation.

NODE 04observable

Limits

First and last address, excessive quantity, exception, timeout, short response, stale cache, restarted server and physical feedback disagreement.

NODE 05observable

Common mistake

An identity, function, address-base, quantity, packing, freshness, mapping, logic or physical-feedback mismatch.

NODE 06observable

Verification

The exact coil map and response checked against current device documentation and a known equipment state.

Answer surface / 07

What does Modbus function code 01 read?

It reads one or more coil bits from a server; the device documentation defines whether a bit is a command, status, internal state or something else.

Does a true Modbus coil prove an output is energized?

No. It proves a returned Boolean at the protocol boundary. Separate I/O and physical feedback are needed to prove equipment state.