Reference designs › Industrial & automation › 24 V PLC digital input module
INDUSTRIAL ยท PLC I/O

24 V PLC digital input module reference design

An eight-channel sinking digital input module for PLC and industrial controllers. It accepts 24 V signals, limits input current, filters contact bounce and presents isolated logic levels to the MCU. Select the BOM lines and send them to RFQ.

01

Design overview

Key specifications and signal flow at a glance

Input channels8 x 24 V sinking
Input current4-6 mA per channel
Logic supply3.3 V
Isolation2.5 kV per group
Input filter1 ms debounce
Typical BOM lines10

Block diagram

24 V inputfield contact
→
Current limit4.7 kOhm
→
Rectifierbridge
→
Optocouplerisolation
→
MCUCortex-M0
→
LEDchannel status

Each channel uses a series resistor, a bridge rectifier for polarity tolerance and an optocoupler. The MCU reads the isolated logic side through a shift register or direct GPIO.

02

Bill of materials

Select the lines you need and send them to RFQ in one click

Tick the lines you need, then copy the list, download a CSV, or open the RFQ form. Part numbers are common catalogue items; equivalents are acceptable.

#FunctionSuggested partKey specQty
1Input resistorCRCW12064K70FKEA4.7 kOhm, 1%, 12068
2Bridge rectifierMB10S0.5 A, 400 V, MBS8
3OptocouplerPC817C5 kV, CTR 80-160%, DIP-48
4MCUSTM32G031K8T6Cortex-M0+, 64 KB flash, 32-pin1
5Shift register74HC165D8-bit parallel in, serial out, SOIC-161
63.3 V LDOAMS1117-3.3800 mA, SOT-2231
7Channel LEDLTST-C170KGKTGreen, 08058
8Decoupling capGRM155R71C104KA88D100 nF, X7R, 25 V, 04028
9Bulk capGRM21BR61A106KE19L10 uF, X5R, 10 V, 08052
10LED series resistorCRCW04024K70FKED4.7 kOhm, 1%, 04028
No lines selected — tick the checkboxes above to build your RFQ list.
0 line(s) selected
03

Design notes

Engineering choices and common pitfalls

Input current and threshold

A 24 V input with a 4.7 kOhm series resistor draws about 5 mA. Industrial standards typically define a logic high above 15 V and a low below 5 V. Choose the resistor and optocoupler CTR together so the low threshold stays safely above noise.

Polarity tolerance

A small bridge rectifier on each input lets the module accept either polarity, which reduces wiring errors on site. The voltage drop across the bridge is small compared with 24 V but must be included in threshold calculations.

Debounce and filtering

Mechanical contacts bounce for milliseconds. Combine an RC filter at the optocoupler output with a 1 ms firmware debounce. Sampling faster than the filter time constant only adds noise.

Channel expansion

Eight inputs fit one MCU. For more channels, cascade 74HC165 shift registers and read them over a single SPI-like bus. Keep the isolated and logic grounds separate all the way to the regulator.

Need a 16-channel version or different input voltage? Send your specification through RFQ and we will propose a matched input stage.
04

Frequently asked questions

What is a sinking digital input module?

A module where the field contact connects the input to 0 V and the module supplies the current from a 24 V source. It is the most common industrial PLC input type.

Why use optocouplers in PLC inputs?

They isolate the field wiring from the logic side, protecting the controller from voltage spikes and ground loops common in factory environments.

How do I set the input debounce time?

Use an RC filter of roughly 0.1-1 ms at the optocoupler output and a matching firmware filter. Mechanical contacts usually settle within 5 ms.