Table of Contents
- Introduction
- What Are PLC Inputs?
- What Are PLC Outputs?
- Digital Inputs
- Digital Outputs
- Analog Inputs
- Analog Outputs
- Difference Between Digital and Analog Signals
- What Is 24 V DC in PLC Systems?
- Sink and Source Concept
- Practical Example: Conveyor System
- Common PLC Input and Output Problems
- How to Troubleshoot a PLC Input
- How to Troubleshoot a PLC Output
- Conclusion
PLC Inputs and Outputs Explained: Digital and Analog Signals
Introduction
PLC inputs and outputs are the connection between the PLC and the real-world devices in an industrial automation system.
Sensors, push buttons, switches, transmitters, motors, valves, contactors, and indicator lamps communicate with the PLC through input and output modules.
Understanding PLC inputs and outputs is one of the most important steps for beginners who want to learn industrial automation.
In this article, we will understand digital inputs, digital outputs, analog inputs, analog outputs, common industrial signals, and practical examples.
What Are PLC Inputs?
PLC inputs are signals received by the PLC from field devices.
The PLC reads these signals and uses them in the control program to make decisions.
For example, when a proximity sensor detects a metal object, it sends a signal to the PLC input.
The PLC then processes this signal according to the programmed logic.
Common PLC input devices include:
Push buttons
Limit switches
Proximity sensors
Photoelectric sensors
Selector switches
Pressure switches
Level switches
Temperature transmitters
What Are PLC Outputs?
PLC outputs are signals sent from the PLC to field devices.
After processing the input signals and executing the program, the PLC controls the output devices according to the programmed logic.
Common PLC output devices include:
Contactors
Relays
Solenoid valves
Indicator lamps
Motor starters
Control valves
Buzzer and alarms
For example, if a PLC receives a signal from a Start push button, the PLC program can activate an output that energizes a motor contactor.
Digital Inputs
Digital inputs have two basic states.
ON
OFF
These states are also commonly represented as:
1 = ON
0 = OFF
For example, a push button can provide an ON or OFF signal to a PLC.
Consider a Start push button.
When the button is pressed, the PLC input changes state.
The PLC detects the change and executes the corresponding logic in the program.
Digital Outputs
Digital outputs also generally have two states.
ON
OFF
For example, a PLC output can control a relay or contactor.
When the output turns ON, the connected device receives the required control signal.
A simple motor-control sequence can be:
Start Button → PLC Input → PLC Program → PLC Output → Contactor → Motor
This is one of the most common concepts used in industrial automation.
Analog Inputs
Analog inputs are used when the signal can have a range of values instead of only ON or OFF.
Examples include:
Temperature
Pressure
Flow
Level
Speed
Position
Common analog signals used in industry include:
0–10 V
4–20 mA
For example, a pressure transmitter may measure pressure and send a 4–20 mA signal to the PLC.
The PLC converts this electrical signal into a corresponding engineering value.
For example:
4 mA → 0 bar
12 mA → 5 bar
20 mA → 10 bar
The exact scaling depends on the transmitter and application.
Analog Outputs
Analog outputs allow the PLC to send a variable signal to another device.
Common applications include:
Motor speed control
Control valve positioning
Heating control
Flow control
Pressure control
For example, a PLC can send a 0–10 V signal to a variable frequency drive to control motor speed.
The PLC output value changes according to the control requirement.
Difference Between Digital and Analog Signals
The main difference is simple.
Digital signals have discrete states, usually ON or OFF.
Analog signals can have continuously changing values within a defined range.
Example of digital input:
Proximity sensor detects object → ON
Example of analog input:
Temperature transmitter → 4–20 mA → PLC
Understanding this difference is very important when troubleshooting industrial control systems.
What Is 24 V DC in PLC Systems?
24 V DC is commonly used for control circuits and PLC field signals.
Many sensors, push buttons, and PLC input circuits operate using 24 V DC.
For example:
24 V DC supply → Sensor → PLC Input
The exact wiring depends on the PLC, sensor type, and control-panel design.
Always check the electrical drawings and manufacturer documentation before connecting field devices.
Sink and Source Concept
The terms sinking and sourcing are important when working with PLC inputs and outputs.
In simple terms, sourcing generally refers to providing current, while sinking generally refers to receiving current.
PNP and NPN sensors are commonly discussed in relation to these concepts.
PNP sensors are commonly associated with sourcing outputs.
NPN sensors are commonly associated with sinking outputs.
Before connecting a sensor to a PLC, it is important to check whether the sensor type is compatible with the PLC input module.
Practical Example: Conveyor System
Let's consider a simple conveyor application.
A proximity sensor detects a product on the conveyor.
The sensor is connected to a PLC digital input.
The PLC program checks the input condition.
When the product is detected, the PLC activates a digital output.
The output energizes a contactor or motor-control circuit.
The conveyor motor then starts or stops according to the programmed sequence.
The complete process is:
Sensor → PLC Input → PLC Program → PLC Output → Motor Control
This simple example demonstrates how inputs and outputs connect the PLC program to the physical machine.
Common PLC Input and Output Problems
During troubleshooting, several problems can occur.
A sensor may not receive power.
A sensor may be damaged.
An input terminal may have a loose connection.
The PLC input may not change state.
An output may not turn ON.
A relay or contactor may be faulty.
A fuse or circuit breaker may be open.
A wiring connection may be incorrect.
When troubleshooting, always follow the electrical drawing and check the system step by step.
How to Troubleshoot a PLC Input
If a sensor is not working correctly, check the following:
Check the sensor power supply.
Check the sensor wiring.
Check whether the sensor indicator is ON.
Check the PLC input LED.
Check the input address in the PLC program.
Check the sensor signal using the appropriate measuring instrument.
This systematic approach can help identify whether the problem is in the field device, wiring, PLC input module, or program.
How to Troubleshoot a PLC Output
If a PLC output is not operating a device, check the following:
Check whether the PLC program is commanding the output ON.
Check the PLC output LED.
Check the output wiring.
Check the supply voltage.
Check the fuse or protection device.
Check the relay or contactor.
Check the connected field device.
Troubleshooting should always be performed according to the applicable safety procedures.
Conclusion
PLC inputs and outputs are the communication path between the control program and the real industrial process.
Digital inputs and outputs are mainly used for ON/OFF signals, while analog inputs and outputs are used for variable signals such as temperature, pressure, flow, and speed.
Once you understand how PLC inputs and outputs work, it becomes much easier to understand sensors, actuators, motor control, HMI systems, and industrial automation.
In the next article, we can learn about PLC Ladder Logic with a simple Start and Stop motor-control example.
Meta Description
Learn PLC inputs and outputs with simple examples. Understand digital and analog signals, 24 V DC, PNP and NPN sensors, troubleshooting, and industrial PLC applications.
0 Comments