Selection guide
How to Select PLC Inputs and Outputs From an I/O List
Short answer
Build the I/O list from the field devices, not the PLC catalog: classify every point as DI, DO, AI or AO, match PNP sensors to sinking inputs and NPN to sourcing inputs, choose relay outputs for mixed loads near 2 A per point and transistor outputs for fast DC loads near 0.5 A, and give analog channels the range and resolution your smallest required change demands.
On this page
- What are the four basic types of PLC input and output?
- How do I classify each device on the I/O list?
- Sinking or sourcing: which digital input type do I need?
- Relay, transistor or triac: which output technology do I choose?
- How do I pick the range and resolution of an analog channel?
- How many spare points should the I/O list carry?
- When do I need specialized modules or remote I/O?
- How do I verify the finished I/O design before ordering?
- Questions asked
Selecting PLC inputs and outputs is a field-device exercise, not a catalog exercise: the I/O list comes from what hangs on the machine, and the modules follow it. Classify every point as digital input (DI), digital output (DO), analog input (AI) or analog output (AO) — or hand it to a specialized module when the signal demands that — then choose each module by circuit direction, load current, signal range and resolution, and carry spares per signal class. This page walks those decisions in the order you meet them, from classification to the final design check.
What are the four basic types of PLC input and output? #
Four classes cover almost every point on an industrial machine: digital inputs (DI), digital outputs (DO), analog inputs (AI) and analog outputs (AO), with specialized modules reserved for signals those four cannot handle. A point's class decides everything downstream — module family, wiring convention, electrical limits — so classify before you count anything. This table is the backbone of the I/O list:
| Class | Signal | Typical field devices | What drives the module choice |
|---|---|---|---|
| DI | Two-state ON/OFF | Push buttons, limit switches, proximity sensors, auxiliary contacts | Point count, voltage, sinking or sourcing circuit |
| DO | Two-state command | Solenoid valves, relay and starter coils, stack lamps | Load current and voltage, output technology, switching rate |
| AI | Continuous voltage or current | Pressure, level and flow transmitters, potentiometers | Signal range, resolution, accuracy, filtering |
| AO | Continuous voltage or current | Drive speed references, modulating valves, positioners | Range, resolution, actuator input impedance |
| Specialized | High-speed, temperature, safety | Encoders, thermocouples, RTDs, guard switches | The signal itself dictates the module type |
Count points per class, never in one pool: DI count cannot cover a missing AO, and modules are chosen per class. For what happens inside a channel after the wire lands, how discrete PLC I/O modules isolate and switch field signals covers the internals; this page stops at the selection decision.
How do I classify each device on the I/O list? #
Walk the machine device by device and assign each one a class before you open a PLC catalog: switches and sensors are DI, coils and lamps are DO, transmitters are AI, modulating commands are AO. Set one row per point and let the class follow the signal, not the guess:
- Two-state electrical feedback — push buttons, selector switches, limit and proximity switches, auxiliary contacts — is DI.
- Anything you switch ON and OFF — solenoid valves, relay and starter coils, horns, lamps — is DO.
- Anything that measures continuously over 4-20 mA or a voltage range — transmitters for pressure, level, flow, weight — is AI.
- Anything you command continuously — a drive speed reference, a modulating valve, a positioner — is AO.
- Pulses too fast for a scan (encoders, high-speed pick-ups) go to counter inputs; thermocouples and RTDs go to temperature modules. Both are specialized, not plain AI.
- Drives, remote displays and other communicating devices go on the network plan, not the point count.
Record the tag, class, voltage or current, and — for every DI — the sensor type, PNP or NPN. That one field decides the input circuit in the next section, and it is the most commonly forgotten column on the list.
Sinking or sourcing: which digital input type do I need? #
Match by current direction: a PNP (sourcing) sensor needs a sinking input, an NPN (sinking) sensor needs a sourcing input, and there is no speed or response-time difference between the two input types. A sinking input terminal connects through the module's optocoupler to the 0 V (V−) rail inside the module: the field device pushes current in and the module sinks it to 0 V. A sourcing input does the opposite — the module pushes current out of the terminal and the sensor switches it to 0 V. Response time is set by the optocoupler and the input filter, not by which way current flows, so choose the circuit to match the sensors and never for speed.
The pairing rule is opposite types: whatever supplies current pairs with whatever receives it.
| Field device | Current behavior | Input circuit it needs |
|---|---|---|
| PNP sensor, sourcing output | Pushes current out toward the point | Sinking input |
| NPN sensor, sinking output | Draws current in from the point | Sourcing input |
The committed decision for a new 24 V DC machine: standardize on PNP sensors and sinking inputs for every DI, and write that convention in the I/O list header. PNP sensors driving optocoupler inputs is the default pairing, and wiring PNP proximity switches to optocoupler inputs shows that circuit at the terminal level. On an installed base holding both sensor types, mark the circuit per row — a mixed panel works only when each row carries its own circuit type. Catch any same-type pair here; it is the cheapest mistake to fix on paper.
Relay, transistor or triac: which output technology do I choose? #
Choose relay outputs for mixed AC and DC loads and for currents around 2 A per point, transistor outputs for fast or frequently switched DC loads up to about 0.5 A per point, and triac outputs only for AC loads. Treat those currents as class-typical values for compact and modular PLCs: 2 A relays and 0.5 A transistors are the usual ratings, but the per-point and per-common ratings in the module datasheet govern, and they vary between vendors and module families.
| Output technology | Switches | Typical per-point current | Choose it for | Watch out for |
|---|---|---|---|---|
| Relay | AC or DC, different voltages on different points | about 2 A | Starter and solenoid coils, mixed loads, low switching rates | Contact wear with cycle count; mechanically slower |
| Transistor | DC only, fixed polarity | about 0.5 A | Fast or continuously cycled DC loads, pulse trains | Polarity; per-common grouping |
| Triac | AC only | set by the datasheet | AC loads switched very often | Small off-state leakage |
The decisions follow the load. Contactor and starter coils, 120 V AC solenoids, anything mixed-voltage: relay. Pilot lamps that flash, solenoids cycling every second, pulse trains to a drive input: transistor, DC only. Frequent AC switching: triac. A load above the chosen technology's rating: switch it through an interposing relay or contactor sized for that load.
How do I pick the range and resolution of an analog channel? #
Match the signal range first — 4-20 mA for transmitters over any distance, 0-10 V only for short in-panel runs — then check that resolution is at least ten times finer than the smallest change you need to act on. Current loops hold their value over long cable runs, and a broken wire reads below 0 mA on a 4-20 mA loop, while a 0-10 V signal cannot tell a broken wire from a true zero. The module range must equal the device range, or you scale the difference in logic.
For resolution, how PLC analog input and output modules convert signals explains what happens between the terminal and the counts. Worked example, with illustrative values — a 4-20 mA pressure transmitter spanning 0-400 psi on a 12-bit current input:
- A 12-bit converter divides the span into 2^12 = 4096 counts.
- Over the 16 mA live span, that is 4096 / 16 = 256 counts per mA.
- Over 400 psi, each count is worth 400 / 4096 = 0.098 psi.
- If the logic must act on 1.0 psi changes, one step is 1.0 / 0.098 ≈ 10 counts — comfortable margin, so 12-bit is enough.
- If the loop must resolve 0.05 psi, one count (0.098 psi) is coarser than the requirement, so you need a higher-resolution module or a narrower transmitter span.
Resolution is only the step size; the module's accuracy specification — offset, gain, nonlinearity — bounds the total error. The ten-times rule keeps quantization a small share of the error budget. Once it is met, confirm module accuracy against the process tolerance: if accuracy is looser than the tolerance, extra bits will not close the gap.
How many spare points should the I/O list carry? #
Round every class up to the next available module size and keep at least 10 percent spare channels per class; on typical 8, 16 and 32-point digital modules and 4 or 8-channel analog modules, the rounding alone usually delivers that. The basis is field reality: commissioning adds points, channels fail, and a spare lets you move a wire instead of a module. Count spares per class and per location — a pooled spare count hides the class that ran out.
Worked example with illustrative module sizes — a machine needing 34 DI, 22 DO, 6 AI and 2 AO:
- DI: 34 points need more than one 32-point module, so one 32 + one 8 = 40 channels, 6 spare = 6/34 = 17.6 percent.
- DO: 22 points fit 16 + 8 = 24 channels, but 2 spare = 2/22 = 9.1 percent, below the floor. Take two 16-point modules = 32 channels, 10 spare = 45 percent.
- AI: 6 points on one 8-channel module = 2 spare = 33 percent.
- AO: 2 points on one 4-channel module = 2 spare.
The committed call on outputs: order 32 DO, not 24. Two spares on a 22-point output class will not survive commissioning, and the same arithmetic applied to each class is what turns the I/O list into a parts list.
When do I need specialized modules or remote I/O? #
Move past the four basic classes when the signal itself demands it: pulses faster than a standard input can scan, thermocouple and RTD inputs, and any safety function go on specialized modules, and distant field devices go on remote I/O. Counter and high-speed inputs take encoder edges and meter pulses that the scan cannot reliably sample. Temperature modules provide cold-junction compensation and linearization for thermocouples and excitation for RTDs — a millivolt analog input is not a temperature input. Emergency-stop and guard functions belong on safety-rated I/O through a safety relay or safety controller: a standard input channel carries no diagnostics or rated failure behavior, so it must not carry a safety function.
Remote I/O earns its place when devices sit far from the cabinet or the local chassis runs out of slots. Selecting multi-channel Modbus analog input remote I/O walks that choice for analog points on a serial drop. When the constraint is slots rather than distance, you can also add 4-20 mA analog inputs when the CompactLogix rack is full with expansion hardware. Either way, confirm the controller supports the module count and the protocol before the design is fixed.
How do I verify the finished I/O design before ordering? #
Check six things against the I/O list: every point classified, every DI circuit direction matched to its sensor, every DO load within its per-point rating, every analog range matched, module count fitting the chassis or remote drop, and every protocol supported by the chosen CPU. Run the check row by row:
- Every row has a class, a module and an address range — no orphan points.
- Every DI sensor type (PNP or NPN) matches its input circuit, per row, not per panel average.
- Every DO load current and voltage sits inside the module's per-point and per-common ratings, with the output technology chosen for the switching rate.
- Every AI and AO range equals the field device range, resolution meets the ten-times rule, and module accuracy meets the process tolerance.
- The module count fits the controller's expansion or remote-drop budget, and every protocol in use is supported by that CPU.
- Spares meet the 10 percent floor per class, counted where the wires land.
Any row that fails one of these checks is a catalog change now and a site visit later — fix it on the list.
Questions asked
Can I mix relay and transistor outputs on the same machine?
Yes, and most machines end up with both. Output technology is chosen per module, so group the loads first: put starter coils and mixed-voltage loads on relay modules, and fast DC loads or pulse trains on transistor modules. Only a point whose load suits neither technology needs an interposing relay. Remember the electrical difference: relay points are isolated contacts that can carry different voltages, while transistor points share a polarity and a common.
What happens if a sourcing sensor is wired to a sourcing input?
The pair never conducts, so the input stays off no matter what the sensor does, because current would have to flow out of both devices at once. Fix it by moving the point to an input module of the opposite circuit type, replacing the sensor, or fitting an interposing relay or converter between them. Marking every DI row's circuit type on the I/O list keeps this a paper correction instead of a field fault.
Is a 16-bit analog input always better than a 12-bit one?
No. Resolution only sets the step size between counts; the module's accuracy specification, which covers offset, gain and nonlinearity, bounds the total error, and the transmitter's own accuracy is usually the largest term. Once resolution is roughly ten times finer than the smallest change your logic acts on, extra bits mostly digitize noise. Spend the improvement on transmitter accuracy or a narrower span instead of on bits.
Do remote I/O channels count in the same spare budget?
Yes, but count them separately: spares are tracked per signal class and per location. A spare digital input on the local chassis does nothing for a dead channel on a remote drop two hundred feet away, because moving the point means re-running the field wire. Give each drop, whether the local rack or a remote station, its own 10 percent spare per signal class when you size the modules.