The short answer
PLC I/O Systems
I/O modules are where the controller meets real voltages and currents. Discrete inputs read on or off from switches and contacts at a wetting voltage; discrete outputs drive coils and lamps through relays, transistors, or triacs; analog inputs convert 4 to 20 mA or voltage signals to numbers, and analog outputs do the reverse. Choosing the module means matching its electrical type to the field device, and wiring it means respecting sink and source, commons, and isolation, because most field faults are wiring faults.
Key points
- A discrete input needs a wetting voltage and a common; the module datasheet says which side sinks and which sources.
- Relay outputs switch anything but wear out; transistor outputs last but switch DC only and need suppression on coils.
- Analog inputs are current or voltage, single-ended or differential, and the choice decides how noise and ground potential affect the reading.
- Isolation between the field and the backplane is what keeps a field fault from reaching the processor.
- Module diagnostics, open wire, over-range, blown fuse, tell you from the panel what a meter would tell you in the field.
Discrete inputs
A discrete input tells the program whether a circuit is closed. The field device, a float switch, a limit switch, a pressure switch, an auxiliary contact on a starter, closes a contact, and the module detects the voltage that the closed contact lets through. That voltage, called the wetting voltage, comes from a supply in the panel, and the module is designed for a specific one: 24 VDC in most new work, 120 VAC in older panels and in some motor control centers.
The words sinking and sourcing describe which way current flows through the module and are the most common cause of an input that never turns on. A sinking input expects the field device to connect it to the positive supply, and the module returns the current to common. A sourcing input supplies the positive itself and expects the field device to connect to common. Three-wire sensors with PNP or NPN outputs have to match. The module datasheet has a wiring diagram, and it is the drawing to follow, not the convention someone remembers.
Discrete outputs
| Type | Switches | Strengths | Limits |
|---|---|---|---|
| Relay contact | AC or DC, up to a few amps | Isolated, tolerant of anything, easy to understand | Mechanical wear, slow, contacts pit on inductive loads without suppression |
| Transistor | DC only, typically 24 V at 0.5 to 2 A | No wear, fast, fine for pilot lights and relay coils | Polarity matters, needs a flyback diode on coils, no AC |
| Triac | AC only | No wear, quiet, fine for contactor coils | Leakage current can hold a small load on; no DC |
Whatever the module, the output rarely drives the final load directly. A motor starter coil, a valve actuator, or a heater is switched through an interposing relay in the panel, so that the load current and the load voltage never reach the module, and so that a shorted coil takes out a two dollar relay rather than a sixteen point card. The interposing relay also converts the module voltage to the load voltage, which is how a 24 VDC transistor output starts a 120 VAC coil.
Analog inputs
An analog input converts a continuous signal into a number. The common signals are 4 to 20 mA current, 0 to 10 V, and the direct temperature inputs, RTD and thermocouple, which have their own module types. The module samples the signal, converts it with an analog to digital converter of a stated resolution, and presents the program with a count, which the scaling page turns into an engineering value.
- Current inputs
- A 250 ohm resistor, internal to the module or external, turns 4 to 20 mA into 1 to 5 V for the converter. Some channels supply loop power for two-wire transmitters; some only accept a signal. The 4-20 mA pages cover which is which and why connecting them wrong damages one of them.
- Voltage inputs
- Read the voltage directly. Sensitive to wire resistance and to noise, so they are used for short runs inside the panel and for devices that only offer a voltage output.
- Single-ended and differential
- A single-ended channel measures each signal against a shared common; a differential channel measures between its own two terminals. Differential inputs reject noise and ground potential differences that single-ended inputs read as signal. Where the field devices are far apart or grounded separately, differential is the safer choice.
- Resolution
- Twelve bits gives 4,096 counts across the range; sixteen bits gives 65,536. Twelve is enough for a level in a wet well; sixteen matters for a flow total or a chemical dose. The analog resolution calculator shows what each gives in engineering units.
Analog outputs
An analog output does the reverse, converting a number to 4 to 20 mA or 0 to 10 V for a drive speed reference, a valve positioner, or a chemical feed pump. The load it drives has a maximum resistance the output can push the current through, published on the datasheet, and a long run to a positioner can exceed it. The fault state of an analog output, hold or go to a value, is configured per channel and decides what the drive does when the processor stops.
Isolation and commons
Modules isolate the field side from the backplane, usually optically, so that a field fault cannot reach the processor. Between points on the same module the isolation varies: some modules have one common for all sixteen points, some have a common per group of four or eight, and some isolate every channel. The grouping decides which field devices can share a supply and which cannot, and it is the reason two devices on different supplies cannot be wired to the same eight-point group.
Diagnostics
Diagnostic modules report conditions that would otherwise take a meter and a trip to the field: an open wire on an input, an over-range or under-range on an analog channel, a blown output fuse, a short on an output, and a missing field supply. Each is available to the program as a status bit, and a program that alarms on them tells the operator that the level transmitter wire is broken rather than that the level is zero. The extra cost of a diagnostic module is paid back the first time it is needed.
Frequently asked questions
- What is the difference between sinking and sourcing inputs?
- Which direction current flows through the module. A sinking input is switched to the positive supply by the field device and returns current to common; a sourcing input supplies the positive and is switched to common. A three-wire sensor has to match: PNP sensors go with sinking inputs, NPN with sourcing, on most platforms. The datasheet diagram governs.
- Should I use relay or transistor outputs?
- Transistor outputs for DC loads that switch often, such as pilot lights and interposing relays, because they do not wear. Relay outputs where the load is AC, where isolation from the field matters, or where the load type is unknown. Either way, drive motor starters and solenoids through an interposing relay.
- When do I need a differential analog input?
- When the signal sources are grounded at different places or are far apart, when a drive is nearby, or when a single-ended channel is reading noise. A differential input measures between its own two terminals and ignores what the common is doing.
- What is an interposing relay for?
- It sits between the output module and the real load. It carries the load current and voltage that the module cannot, converts between the module voltage and the load voltage, and fails cheaply and separately from the module.
Related topics
- 4-20 mA Current LoopsWhy the industry standardized on current instead of voltage, how a two-wire loop is powered, what the live zero buys you, and how to read a loop with a meter.
- Analog Scaling: Raw Counts to Engineering UnitsThe arithmetic that turns an analog card reading into feet, psi, or gallons per minute — plus the range mismatches that silently corrupt it.
- 4-20 mA Signals from the Instrument SideHow a 4-20 mA current loop is powered and wired at the transmitter, why the loop resistance budget matters, and how to check a loop with a meter.
- Inputs Not ReadingA switch closes in the field and the program never sees it. How the wetting voltage, the common, sinking and sourcing, and the wiring each lose the signal, and how to find which one did.
- Outputs Not EnergizingThe program says the output is on and the equipment is not running. Where the signal gets lost between the output image and the field device, and how to find the point in a few measurements.
- What Is a PLC?A programmable logic controller is a ruggedized industrial computer that reads field inputs, solves a control program, and drives outputs on a repeating, deterministic cycle.
Direct contact
Have a controls question?
Reach Eric Sullivan directly about anything on this site, a controls or automation topic, or one of his personal projects.