Discrete Input - Knowledge Base

Modbus discrete input data point overview covering read-only bit access, function codes, and comparison to coils.

Categories:

What a Discrete Input Is

A discrete input is a read-only single-bit data point in Modbus. Discrete inputs typically represent physical sensor states, alarm contacts, or status flags — values that the device reports but external systems cannot write.

Discrete Inputs vs Coils

AspectDiscrete InputCoil
AccessRead-onlyRead/Write
Typical useSensor states, alarm contactsRelay outputs, commands
Modbus functionFC 02 (Read Discrete Inputs)FC 01, 05, 15
Address range1xxxx (traditional)0xxxx (traditional)

Function Code

CodeFunction
02Read Discrete Inputs

[!NOTE] Some devices map digital status points as discrete inputs while others use holding registers with bitmask values. Always check the vendor’s register map.

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