Objective. Students will distinguish between discrete and analog I/O modules, read an I/O wiring diagram, and explain how field device signals are converted to values the CPU can process.
A Programmable Logic Controller (PLC) is the brain of an automated industrial or commercial system. It reads signals from field devices such as switches, sensors, and transducers through input modules, makes decisions based on a user-written program, and then sends control signals to output devices such as motor starters, valves, and indicator lights through output modules. The I/O (input/output) modules are the translation layer between the real-world electrical world and the digital world inside the CPU.
There are two fundamental categories of I/O signals you will encounter as an electrician: discrete and analog. Understanding the difference is essential for wiring, troubleshooting, and passing your NCCER assessments.
---
A discrete signal has only two possible states: ON or OFF. Inside the CPU, these states are stored as a single binary digit — a 1 (ON) or a 0 (OFF). Common field devices connected to discrete input modules include:
A typical discrete input module operates at 24 VDC in industrial settings, though 120 VAC modules also exist. When voltage is present at an input terminal, the module signals the CPU that the bit is 1. When no voltage is present, the bit is 0.
Discrete output modules work in reverse: the CPU sets a bit HIGH, and the module switches voltage to the connected field device. Output modules may use transistors (for DC loads), triacs (for AC loads), or electromechanical relays, depending on the application.
Wiring tip: Each discrete input terminal typically requires a common (return) connection. Always verify the module's sink/source wiring configuration before connecting field devices — reversing sink and source wiring is one of the most common installation mistakes.
---
An analog signal varies continuously across a range rather than switching between two states. Analog input modules accept signals such as:
Inside the analog input module, an analog-to-digital converter (ADC) samples the incoming electrical signal and converts it to a numerical value the CPU can store and process. A common resolution is 12-bit, which means the ADC divides the full signal range into 2¹² = 4,096 counts (0–4,095).
For a 4–20 mA channel:
The programming software applies a scaling formula to convert raw counts to engineering units such as °F, PSI, or GPM so that the operator sees a meaningful value.
Analog output modules contain a digital-to-analog converter (DAC), which works in the opposite direction: the CPU writes a numerical value, and the module outputs the corresponding current or voltage signal to a field device such as a variable-frequency drive or control valve.
---
An I/O wiring diagram shows:
1. The module's terminal numbers and their function (input, common, shield, power)
2. The field device connected to each terminal
3. The power supply polarity and any fusing requirements
4. The wire number or tag used to trace the circuit
When you read the diagram, follow each signal wire from the field device to the module terminal, confirm the common connections, and identify the power source voltage. For analog loops, trace the 4–20 mA path from the transmitter (+) terminal, through the field wiring, into the module's (+) input terminal, and back through the (–) terminal to complete the loop.
---
Lockout/Tagout (LOTO): Before removing or installing any I/O module or field wiring, de-energize the panel, verify absence of voltage with a calibrated meter, and apply your personal lock. PLC control panels may contain multiple voltage sources — 120 VAC control power, 24 VDC I/O power, and potentially higher voltages for motor circuits. Identify and isolate every energy source.
PPE: Wear safety glasses and voltage-rated gloves appropriate for the working voltage. When taking live measurements during supervised lab work, use a meter rated for the voltage present and keep one hand free when probing.
Analog loop caution: A 4–20 mA loop powered by an external 24 VDC supply can still cause equipment damage if the loop is opened while the transmitter is active. Short the loop properly before disconnecting transmitters in live systems.
---
The CPU continuously executes a scan cycle:
1. Input scan — reads all I/O module values into an input image table in memory
2. Program scan — executes the ladder logic or function block program using the image table values
3. Output scan — writes the results back to the output image table, which updates the output modules
Discrete inputs appear as single bits; analog inputs appear as integer or floating-point values in a data register. Understanding this cycle helps you predict how quickly the PLC responds to a field-device change and troubleshoot timing-related issues.
Answer each question, then check it. Nothing is recorded; this is your own practice.
A free tech program — complimentary, as our commitment to get America working. Help us build VoTechWorks. Tell us what works, what doesn’t, and what you want to learn.