Menu

Modbus Discrete Inputs

Modbus discrete input overview covering read-only bit points, status-oriented use cases, and how they differ from coils.

Categories:

What They Are

Modbus discrete inputs are single-bit read-only points. They usually represent contact states, alarms, switches, and other digital conditions reported by the device but not writable through Modbus.

They matter because many Modbus devices expose simple status information this way even when the rest of the project is register-heavy. Dry contacts, alarm bits, float switches, run-status indicators, and other binary conditions often belong in the discrete-input table rather than in coils or registers.

Coils vs Discrete Inputs

AspectDiscrete InputsCoils
AccessRead-onlyRead/write
Typical roleStatus, alarms, contactsCommands and writable outputs
Function code0201, 05, 15

Typical Use Cases

Use CaseWhy Discrete Inputs Fit
Alarm contactsThe device reports the condition, but the external system should not command it
Status bitsOn-off state must be visible without creating a writable path
Switch or relay feedbackThe external system needs confirmation of a physical state
Protective or fault statusThe point belongs to device health reporting, not command logic

Common Failure Modes

Failure PatternWhat Usually HappenedPractical Result
Status bit treated like a coilThe team assumes every bit point is writableWrite tests fail or hit the wrong data family
Wrong bit addressThe map and tool use different offset conventionsThe project reads the wrong condition
Internal logic was never validatedThe point exists, but the team cannot tie it to a real field stateOperators see a bit with no dependable meaning

Commissioning Notes

Discrete-input validation works best when one real field condition can be toggled and observed. That proves the bit belongs to the expected alarm, switch, or status source rather than only proving that a register address returns changing values.