Coil - Knowledge Base

Modbus coil data point overview covering discrete read/write behavior, function codes, and addressing conventions.

Categories:

What a Coil Is

A coil is a discrete (single-bit) read/write data point in Modbus. Coils represent binary on/off states such as relay outputs, enable flags, or command triggers.

The term “coil” originates from relay coils in early industrial control — a coil being energized (1) or de-energized (0).

Coils vs Other Register Types

TypeAccessSizeTypical Use
CoilRead/Write1 bitRelay outputs, commands
Discrete InputRead-only1 bitSensor contacts, alarms
Holding RegisterRead/Write16 bitsSetpoints, configuration
Input RegisterRead-only16 bitsMeasurements, counters

Function Codes

CodeFunction
01Read Coils
05Write Single Coil
15Write Multiple Coils

Addressing

Coils traditionally use the 0xxxx reference number range (e.g., 00001–09999). However, actual addressing depends on whether the device uses reference-style (1-based) or offset-style (0-based) numbering.

[!NOTE] Always confirm the addressing convention with the device vendor’s register map. See Modbus Addressing & Register Reference for details.

Need more help?

If this page does not resolve the issue, contact Chipkin support with the product model, protocol details, and any diagnostics you have already captured.

Open Chipkin Support